Robin S Posted March 8, 2023 Share Posted March 8, 2023 WebP to JPG Converts WebP images to JPG format on upload. This allows the converted image to be used in ProcessWire image fields, seeing as WebP is not supported as a source image format. Config You can set the quality (0 – 100) to be used for the JPG conversion in the module config. Usage You must set your image fields to allow the webp file extension, otherwise the upload of WebP images will be blocked before this module has a chance to convert the images to JPG format. https://github.com/Toutouwai/WebpToJpg https://processwire.com/modules/webp-to-jpg/ 11 5 Link to comment Share on other sites More sharing options...
DV-JF Posted June 4 Share Posted June 4 Hey @Robin S when trying to use your module I'm getting following error: unable to open file `/tmp/magick-3212377FV32zRu53SoM': Datei oder Verzeichnis nicht gefunden @ error/constitute.c/ReadImage/604 Edit: PHP 8.2.6 - ProcessWire 3.0.229 © 2024 Any ideas? Many greets! Link to comment Share on other sites More sharing options...
Robin S Posted June 4 Author Share Posted June 4 13 hours ago, DV-JF said: when trying to use your module I'm getting following error: unable to open file `/tmp/magick-3212377FV32zRu53SoM': Datei oder Verzeichnis nicht gefunden @ error/constitute.c/ReadImage/604 I don't know for sure but it looks like a problem with your Imagick configuration or file permissions. The module won't be able to solve that but if you update to the newly released v0.2.2 there is an option in the module config where you can choose to use GD for the conversion instead. 1 Link to comment Share on other sites More sharing options...
DV-JF Posted June 5 Share Posted June 5 9 hours ago, Robin S said: I don't know for sure but it looks like a problem with your Imagick configuration or file permissions. The module won't be able to solve that but if you update to the newly released v0.2.2 there is an option in the module config where you can choose to use GD for the conversion instead. @Robin S, you're fantastic! GD libary is working fine for me! Thanks a million for the quick update! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now