If I use this on Ubuntu it works like a charm, but when I use it on Windows it completely ignores the quality settings and inputs extremely low quality images:
The JPG is previously compressed and resized accordingly, but as you can see in the example, the difference in quality is enormous.
Example:
Original processed JPG - 7.48 kb
Webp converted file from the original JPG - 588 bytes
Is there some issue with the library and Windows or am I configuring something incorrectly? I tried using imagemagick as a converter but I get PHP errors, that might be a config issue from my side.
First of all, great library, really easy to use and also fast!
This is not a critical issue but it does cause me some complications on my local server.
I have the following setup:
I am using CodeIgniter 4.1.9 and WebpConvert 2.9.1 which I think is the latest version as per this post.
So, I use the following code:
If I use this on Ubuntu it works like a charm, but when I use it on Windows it completely ignores the quality settings and inputs extremely low quality images:
The JPG is previously compressed and resized accordingly, but as you can see in the example, the difference in quality is enormous.
Example:
Original processed JPG - 7.48 kb
Webp converted file from the original JPG - 588 bytes
Is there some issue with the library and Windows or am I configuring something incorrectly? I tried using imagemagick as a converter but I get PHP errors, that might be a config issue from my side.