[wp-trac] [WordPress Trac] #28634: jpeg_quality hook fake compress images

WordPress Trac noreply at wordpress.org
Wed Jun 25 22:40:09 UTC 2014


#28634: jpeg_quality hook fake compress images
--------------------------+------------------------------
 Reporter:  alexufo       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by DH-Shredder):

 I took a look, and basically it looks like, from what I can tell, the
 original image has a lot of metadata.

 This is resulting in larger relative file sizes at small resolutions.
 (Meaning, it's more noticiable)

 With Imagick, we maintain metadata.  With GD, it gets thrown out due to
 engine differences.

 If you run a diff on the two files, you can see the additional meta.

 If you strip the exif before uploading the image, it resizes to under 2kb,
 even with Imagick.

 Attached files to illustrate.

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


More information about the wp-trac mailing list