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())) {
@@ 1435-1437 (lines=3) @@
1432
 **/
1433
function process_image_reduire($fonction, $img, $taille, $taille_y, $force, $process = 'AUTO') {
1434
	$image = false;
1435
	if (($process == 'AUTO') and isset($GLOBALS['meta']['image_process'])) {
1436
		$process = $GLOBALS['meta']['image_process'];
1437
	}
1438
	# determiner le format de sortie
1439
	$format_sortie = false; // le choix par defaut sera bon
1440
	if ($process == "netpbm") {