-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: GD with enabled webp support, but still return error #15977
Comments
Well, as you are using |
It is probably the GD in the system that is not recognized by Phalcon. There is no reason why I will see if I can create a failing test. |
yeah, i tried in RC1 too, same error I tried like this: $im = imagecreatefromwebp($path_to_webp_example_file);
imagejpeg($im, $path_to_jpg_file, 100);
imagedestroy($im);
$image = new \Phalcon\Image\Adapter\Gd($path_to_webp_example_file); // Error here PS: i've manage to use original PHP GD function and resize/crop webp image format and create fallback to my project... but its good to fix that for the final 5 :) Thanks guys. You are the best! |
@borisdelev I found where the issue lies..... The I wrote a couple of tests and will see if I can get this in the next version. |
Like i said before- u are the best 😊 |
Resolved in #15989 |
Hi hi hi... something strange... when i try to save webp image... I am with Phalcon 5.0.0RC3 Sorry to bother you @niden , but can u just check that? |
Issue has not been resolved in RC3. |
Resolved in #16044 |
@borisdelev I believe it is fixed for good now :) |
Description
My PHP GD configuration support webp image format. I test it with simple imagecreatefromwebp function and it worked. But when use \Phalcon\Image\Adapter\Gd- i've got "Installed GD does not support image/webp images" error
PHP
Windows 11, PHP 8.0.15 with Phalcon 5.0.0 Alpha 6 (but i tried it with RC- same error)
To Reproduce
Just use next line:
Expected behavior
Well... to manipulate webp format images
Details
Finish
Well- that's it. Maybe i am wrong somewhere or it is not a bug (it is a feature :), but i want to fix so... you are my hope :)
THANK YOU all Phalcon supporters.
Wish u luck and... may the force be with you!
The text was updated successfully, but these errors were encountered: