[wp-trac] [WordPress Trac] #28634: Upload images. does not clear Thumbnails metadata (+30kb from camera for each thumbnails)

WordPress Trac noreply at wordpress.org
Sat Feb 6 23:42:31 UTC 2016


#28634: Upload images. does not clear Thumbnails metadata (+30kb from camera for
each thumbnails)
--------------------------+-----------------------------
 Reporter:  alexufo       |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  Future Release
Component:  Media         |     Version:  3.5
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------
Changes (by markoheijnen):

 * keywords:  has-patch needs-docs => has-patch


Comment:

 Updated the patch
 - Rename filter image_strip_exif (no imagick and moved image as first like
 other filters in the class)
 - Change filter to have size name only instead of $size_data and
 $orig_image. We never send the image object itself.
 - Moved the strip exif logic inside it's own public method. Normally I
 don't like to have a method only available for one WP_Image_Editor but
 it's nice to have public for people using it directly.

 I haven't seen a visual difference in removing all, adding back icc or not
 removing exif at all.
 Sizes are 40, 43 and 67kb for a 300x300 crop.

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


More information about the wp-trac mailing list