BUG PNG to WEBP conversion
- Vred
- Member | 9
Hello,
I have a small problem when converting PNG to WEBP, when an empty file is
created.
My code is
Uploading PNG image with size 800×600, 196 kB
But if I change $image->resize(801, null); or $image->resize(799, null); then everything works as it should. Yes, I can fix it this way using IF which I will obviously have to do but it seems like a BUG to me.
- Infanticide0
- Member | 112
Hello @Vred,
Image::toString does not expect int 800 as parameter.
I tried this and it works as expected.
Different image works?
“nette/utils”: “^4.0.5”,
Last edited by Infanticide0 (2024-08-22 19:06)