[wp-trac] [WordPress Trac] #58996: Expand "imagemin" Grunt task to cover default themes

WordPress Trac noreply at wordpress.org
Wed Jan 24 11:05:17 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 swissspidy):

 Thanks, very helpful!

 > I'm guessing that also means the larger images have now a _lower_
 quality because the added pixels are the result of some interpolation.

 imagemin is supposed to do lossless compression according to the
 documentation, so quality shouldn't decrease.

 ----

 I am now trying `npm run grunt imagemin` again with different
 configuration and even with mozjpeg but weirdly enough I now can't get it
 to process those files again 🤔

 Of course I could manually optimize them again but then what's the point.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58996#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list