diff --git a/inc/image.php b/inc/image.php index c3cac504..c9c35736 100644 --- a/inc/image.php +++ b/inc/image.php @@ -364,7 +364,8 @@ class ImageConvert extends ImageBase { escapeshellarg($this->temp)))) || !file_exists($this->temp)) { if (strpos($error, "known incorrect sRGB profile") === false && - strpos($error, "iCCP: Not recognizing known sRGB profile that has been edited") === false) { + strpos($error, "iCCP: Not recognizing known sRGB profile that has been edited") === false && + strpos($error, "cHRM chunk does not match sRGB") === false) { $this->destroy(); error(_('Failed to resize image!')." "._('Details: ').nl2br(htmlspecialchars($error)), null, array('convert_error' => $error)); }