[wp-trac] [WordPress Trac] #58996: Expand "imagemin" Grunt task to cover default themes
WordPress Trac
noreply at wordpress.org
Wed Jan 24 11:08:04 UTC 2024
#58996: Expand "imagemin" Grunt task to cover default themes
------------------------------+-------------------------
Reporter: azaozz | Owner: swissspidy
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.5
Component: Build/Test Tools | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+-------------------------
Comment (by afercia):
> imagemin is supposed to do lossless compression according to the
documentation, so quality shouldn't decrease.
Maybe I wasn't clear.
When the image size actually increases, that means that some pixels are
_added_ to the image (which is already optimized, it's not the original
high-quality image). That means imagemin actualy 'rebuilds' some pixels
adn adds them to the image, as a result of some interpolation process.
These 'rebuilt' pixels can't in any way _improve_ the quality of the
image.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58996#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list