Subversion Repositories eFlore/Applications.cel

Rev

Rev 3910 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3910 Rev 3913
Line 129... Line 129...
129
				}
129
				}
130
				$verrou = flock($fp, LOCK_UN);
130
				$verrou = flock($fp, LOCK_UN);
131
				fclose($fp);
131
				fclose($fp);
132
				$image = file_get_contents($chemin_image);
132
				$image = file_get_contents($chemin_image);
133
			}
133
			}
134
		 elseif ('O' === $format) {
134
		} elseif ('O' === $format) {
135
			$image = new Imagick($chemin_image);
135
			$image = new Imagick($chemin_image);
136
			$profiles = $image->getImageProfiles('icc', true);
136
			$profiles = $image->getImageProfiles('icc', true);
137
			$image->stripImage();
137
			$image->stripImage();
138
			if (!empty($profile)) {
138
			if (!empty($profile)) {
139
				$image->profileImage('icc', $profiles['icc']);
139
				$image->profileImage('icc', $profiles['icc']);