[wp-trac] [WordPress Trac] #39471: wordpress-logo.svg can be optimized

WordPress Trac noreply at wordpress.org
Fri Jan 6 01:54:51 UTC 2017


#39471: wordpress-logo.svg can be optimized
----------------------------+--------------------------
 Reporter:  lukecavanagh    |       Owner:
     Type:  enhancement     |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:  duplicate
 Keywords:  has-patch       |     Focuses:  performance
----------------------------+--------------------------
Changes (by pento):

 * status:  new => closed
 * version:  4.7 =>
 * resolution:   => duplicate
 * milestone:  Awaiting Review =>


Comment:

 The svg-optimiser tool compresses slightly better than `imagemin`, (1.1KB
 vs 1.3KB on wordpress-logo.svg) but it does so by rounding co-ordinates
 and path lengths. I really don't like changing the actual image data, and
 `imagemin` can be configured to do that if we really wanted to explore
 that option.

 Tinypng saved 60 bytes over `imagemin` on `wordpress-logo.png`, which
 totally isn't worth it.

 I'm cool with investigating tweaking the `imagemin` options, but switching
 to external, manually run tools is not my idea of a fun time.

 The best option is to fix #30587, and then see if there are any `imagemin`
 options we can tweak that don't cause image quality loss.

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


More information about the wp-trac mailing list