Sybio / ImageWorkshop

ImageWorkshop is a PHP5.3+ library that helps you to manage images based on GD library
http://phpimageworkshop.com/
Other
861 stars 189 forks source link

Webp support #122

Closed josegarzi2 closed 4 years ago

josegarzi2 commented 4 years ago
Q A
Bug report? no
Feature request? yes
Usage question? no
PHP version used 7.2

Good Morning

I saw that in the latest version of the library (2.1.0) they support the webP format.

When trying to start a layer with an image in this format, the library throws the error: Not an image file (jpeg / png / gif)

Looking through the code I saw that support for this format is only when saving the result image.

Do you plan to support the loading of layers?

Thank you

jdecool commented 4 years ago

Hi @josegarzi2.

Thanks for your feedback.

This problem should be fixed by #123 that just be merge in the master branch.

Could you make a test ? And confirm that is functional for you ?

josegarzi2 commented 4 years ago

Good. As soon as I can do the test, I don't know if you saw that I opened a branch with the solution that I applied, I don't know if it's what you ask me to try, if so, if it works correctly. At night I review the changes you comment on me and perform the test

josegarzi2 commented 4 years ago

Good, I could try it. Works correctly. Thank you

jdecool commented 4 years ago

This is now available in the last release.