diff options
author | Florian Pritz <bluewind@xinu.at> | 2015-11-02 15:41:44 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-11-02 15:41:44 +0100 |
commit | a3d2bc5e08752faac9f9b8c024674edc755bd65e (patch) | |
tree | 991fe90564861f8a72b53b678bf391db932416fd /application/libraries/Image/Drivers/imagemagick.php | |
parent | 6c8d38a41d7ceb9dc01a28c77af7e0cdb7a3142b (diff) |
l/Image/D/imagemagick: Allow output on stderr
Imagemagick sometimes output warnings about files that do not conform
to standards, but still renders them.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/libraries/Image/Drivers/imagemagick.php')
-rw-r--r-- | application/libraries/Image/Drivers/imagemagick.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/libraries/Image/Drivers/imagemagick.php b/application/libraries/Image/Drivers/imagemagick.php index fb4e4d88f..8295469eb 100644 --- a/application/libraries/Image/Drivers/imagemagick.php +++ b/application/libraries/Image/Drivers/imagemagick.php @@ -70,7 +70,7 @@ class imagemagick implements \libraries\Image\ImageDriver { } try { - $ret = (new \libraries\ProcRunner($command))->execSafe(); + $ret = (new \libraries\ProcRunner($command))->forbid_nonzero()->exec(); } catch (\exceptions\ApiException $e) { throw new \exceptions\ApiException("libraries/Image/thumbnail-creation-failed", "Failed to create thumbnail", null, $e); } |