We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47b9d69 commit 582ee12Copy full SHA for 582ee12
src/ImageResize.php
@@ -86,7 +86,7 @@ public function __construct($filename = null)
86
*/
87
public function loadFromString($imagedata)
88
{
89
- $image_info = getimagesize('data://application/octet-stream;base64,' . base64_encode($imagedata));
+ $image_info = @getimagesize('data://application/octet-stream;base64,' . base64_encode($imagedata));
90
91
if (!$image_info) {
92
throw new \Exception('Could not load image from string');
0 commit comments