[wp-trac] [WordPress Trac] #25169: Optimize all images / pngs in core
WordPress Trac
noreply at wordpress.org
Thu Feb 13 08:06:37 UTC 2014
#25169: Optimize all images / pngs in core
------------------------------+--------------------------------------
Reporter: bradparbs | Owner: nacin
Type: enhancement | Status: closed
Priority: normal | Milestone: 3.9
Component: Build/Test Tools | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses: javascript, performance
------------------------------+--------------------------------------
Comment (by nacin):
I'm with wonderboymusic on this being a pre-commit tool rather than a
build tool. It can essentially be in the same boat as autoprefixer
(#27078). Maybe we'll hook it up to build later, but I think just having
the task there is a good first step.
Since it'll be applying these changes directly to files in `src`, we need
to be really restrictive of which images we apply them to. I made it
imagemin:core as imagemin:themes makes sense in the future. That said, all
of our theme screenshots are currently perfect, and the optimization of
jpeg header images and such is something that is done by hand — balancing
quality for file size. So rather than coming up with a rule that would
essentially be just screenshots, I left it out for the moment.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/25169#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list