You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When there is no memory limit set, or it is set to -1 (unlimited), the instantiation of IMagickLuminanceSource throws a RuntimeException("PHP Memory Limit does not allow pixel export.") complaining about it, because it wrongfully thinks the limit is not enough.
This is due to the fact that in the checking method, a call to kmgStringToBytes performs a substr without taking into account the negative value, or the - sign.
I'm creating a PR that fixes this
The text was updated successfully, but these errors were encountered:
Hello, I have the exact problem on a production server.
PHP Memory Limit does not allow pixel export. khanamiryan/qrcode-detector-decoder/lib/IMagickLuminanceSource.php (34)
I had a look into the vendor file, I can't see the changes proposed in the PR #134 and I have version 2.0.2 installed.
When there is no memory limit set, or it is set to -1 (unlimited), the instantiation of
IMagickLuminanceSource
throws aRuntimeException
("PHP Memory Limit does not allow pixel export.") complaining about it, because it wrongfully thinks the limit is not enough.This is due to the fact that in the checking method, a call to
kmgStringToBytes
performs a substr without taking into account the negative value, or the-
sign.I'm creating a PR that fixes this
The text was updated successfully, but these errors were encountered: