Code Duplication    Length = 3-3 lines in 2 locations

ecrire/inc/filtres_images_lib_mini.php 2 locations

@@ 997-999 (lines=3) @@
994
995
	$format_sortie = $valeurs['format_dest'];
996
997
	if (($process == 'AUTO') and isset($GLOBALS['meta']['image_process'])) {
998
		$process = $GLOBALS['meta']['image_process'];
999
	}
1000
1001
	// liste des formats qu'on sait lire
1002
	$img = isset($GLOBALS['meta']['formats_graphiques'])
@@ 1327-1329 (lines=3) @@
1324
 **/
1325
function process_image_reduire($fonction, $img, $taille, $taille_y, $force, $process = 'AUTO') {
1326
	$image = false;
1327
	if (($process == 'AUTO') and isset($GLOBALS['meta']['image_process'])) {
1328
		$process = $GLOBALS['meta']['image_process'];
1329
	}
1330
	# determiner le format de sortie
1331
	$format_sortie = false; // le choix par defaut sera bon
1332
	if ($process == "netpbm") {