Code Duplication    Length = 3-3 lines in 2 locations

ecrire/inc/filtres_images_lib_mini.php 2 locations

@@ 1075-1077 (lines=3) @@
1072
1073
	$format_sortie = $valeurs['format_dest'];
1074
1075
	if (($process == 'AUTO') and isset($GLOBALS['meta']['image_process'])) {
1076
		$process = $GLOBALS['meta']['image_process'];
1077
	}
1078
1079
	// si le doc n'est pas une image, refuser
1080
	if (!$force and !in_array($format, formats_image_acceptables())) {
@@ 1440-1442 (lines=3) @@
1437
 **/
1438
function process_image_reduire($fonction, $img, $taille, $taille_y, $force, $process = 'AUTO') {
1439
	$image = false;
1440
	if (($process == 'AUTO') and isset($GLOBALS['meta']['image_process'])) {
1441
		$process = $GLOBALS['meta']['image_process'];
1442
	}
1443
	# determiner le format de sortie
1444
	$format_sortie = false; // le choix par defaut sera bon
1445
	if ($process == "netpbm") {