mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-25 22:48:00 +01:00
parent
f1b43e5fb2
commit
9745e9d854
@ -364,7 +364,8 @@ class ImageConvert extends ImageBase {
|
|||||||
escapeshellarg($this->temp)))) || !file_exists($this->temp)) {
|
escapeshellarg($this->temp)))) || !file_exists($this->temp)) {
|
||||||
|
|
||||||
if (strpos($error, "known incorrect sRGB profile") === false &&
|
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();
|
$this->destroy();
|
||||||
error(_('Failed to resize image!')." "._('Details: ').nl2br(htmlspecialchars($error)), null, array('convert_error' => $error));
|
error(_('Failed to resize image!')." "._('Details: ').nl2br(htmlspecialchars($error)), null, array('convert_error' => $error));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user