mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-27 17:00:52 +01:00
parent
f1b43e5fb2
commit
9745e9d854
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user