imagor icon indicating copy to clipboard operation
imagor copied to clipboard

use default quality,avif image size too large

Open xiaoya2025 opened this issue 1 year ago • 5 comments

Original image format is jpg and size is 72k Use default quality, /unsafe/filters:format(webp)/ output webp size is 40k Use default quality, /unsafe/filters:format(avif)/ output avif size is 138k The size of the avif image is twice that of the original image

xiaoya2025 avatar Jan 04 '24 03:01 xiaoya2025

normally, you can decrease the quality for avif for the same visiual quality.

liudongmiao avatar Aug 09 '24 07:08 liudongmiao

This issue is stale because it has been open 30 days with no activity. Remove the stale label or add a comment, or this issue will be closed in 15 days. You can always re-open if you still feel this is still an issue. Tag @cshum for more information.

github-actions[bot] avatar Sep 30 '25 00:09 github-actions[bot]

I am thinking that maybe the quality filter could be extended to support a per encoder value.. Something along the lines of quality(80,webp:70,avif:60)

thomasf avatar Oct 07 '25 19:10 thomasf

...But I don't like the idea of urls getting even longer. Maybe some way to get it as a setting instead would be better, dunno if a scaling factor would be enough or if more control is needed.

thomasf avatar Oct 07 '25 19:10 thomasf

This issue is stale because it has been open 30 days with no activity. Remove the stale label or add a comment, or this issue will be closed in 15 days. You can always re-open if you still feel this is still an issue. Tag @cshum for more information.

github-actions[bot] avatar Nov 07 '25 00:11 github-actions[bot]