Open dhm80 opened 5 months ago
In class SimpleImage the php internal function imagecreatefromstring() raises php warnings if the data is invalid:
SimpleImage
imagecreatefromstring()
E_WARNING: imagecreatefromstring(): Data is not in a recognized format
The function is used in two methods: fromDataUri() and fromFile()
fromDataUri()
fromFile()
Please change to @imagecreatefromstring() and throw an exception if result is false (see https://www.php.net/manual/en/function.imagecreatefromstring.php)
@imagecreatefromstring()
Thanks!
In class
SimpleImage
the php internal functionimagecreatefromstring()
raises php warnings if the data is invalid:The function is used in two methods:
fromDataUri()
andfromFile()
Please change to
@imagecreatefromstring()
and throw an exception if result is false (see https://www.php.net/manual/en/function.imagecreatefromstring.php)Thanks!