- case 'gd1':
- case 'gd2':
- $formats_graphiques = $GLOBALS['meta']['gd_formats_read'];
- break;
- case 'netpbm':
- $formats_graphiques = $GLOBALS['meta']['netpbm_formats'];
- break;
- case 'convert':
- case 'imagick':
- $formats_graphiques = 'gif,jpg,png';
- break;
- default: #debug
- $formats_graphiques = '';
- $image_process = 'non';
- break;
- }
- ecrire_meta('formats_graphiques', $formats_graphiques,'non');
- ecrire_meta('image_process', $image_process,'non');
+ case 'gd1':
+ case 'gd2':
+ $formats_graphiques = $GLOBALS['meta']['gd_formats_read'];
+ break;
+ case 'netpbm':
+ $formats_graphiques = $GLOBALS['meta']['netpbm_formats'];
+ break;
+ case 'convert':
+ case 'imagick':
+ $formats_graphiques = 'gif,jpg,png';
+ break;
+ default: #debug
+ $formats_graphiques = '';
+ $image_process = 'non';
+ break;
+ }
+ ecrire_meta('formats_graphiques', $formats_graphiques, 'non');
+ ecrire_meta('image_process', $image_process, 'non');