[wp-trac] [WordPress Trac] #53653: Scaled down WebP images may be with much larger file size than the original
WordPress Trac
noreply at wordpress.org
Wed Jul 14 15:19:28 UTC 2021
#53653: Scaled down WebP images may be with much larger file size than the original
---------------------------------------+---------------------
Reporter: azaozz | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.8
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch needs-testing | Focuses:
---------------------------------------+---------------------
Comment (by mikeschroder):
Replying to [comment:3 adamsilverstein]:
> In [attachment:"53653.diff"]
> * Only use lossless format for WebP output when header detection
determines image is lossless.
>
> Fixes previous logic to favor using lossy format as default <snip>
Tested this, and it looks to do as expected so far.
It would be even better if we could detect lossless images more accurately
(there are still `VP8L` images located within files that begin with `VP8X`
sections, which core is currently not detecting), but I agree that it's
much better to default to assuming we should save as lossy than lossless.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53653#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list