Publii
Publii copied to clipboard
[Bug]: Resized image is bigger than the original
Operating system
Windows 10
Publii version
0.39.1 (build 15483)
Post editor
No response
Bug description
Hi,
I'm facing an issue, when the "Enable responsive images" function is enabled, the "2xl" and "lg" sizes of the image has a bigger size than the original.
Original image: 1280 x 622 px and 127KB "2xl" version: 1280 x 622 px and 180KB "lg" version: 1024 x 498 px and 417KB
The highlighted image is the original:
It seems only .png pictures are affected.
Could you please investigate this issue?
Thanks! Feriman
Steps to reproduce
- Enable the "Enable responsive images" function
- Create a new post, and upload a .png image as a featured image with size 1280x622, or something similar
- Preview your changes
- Check the size of images
Relevant log output
No response