[wp-trac] [WordPress Trac] #28634: Upload images. does not clear Thumbnails metadata (+30kb from camera for each thumbnails)
WordPress Trac
noreply at wordpress.org
Sun Mar 6 22:27:33 UTC 2016
#28634: Upload images. does not clear Thumbnails metadata (+30kb from camera for
each thumbnails)
--------------------------+------------------------
Reporter: alexufo | Owner: joemcgill
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.5
Component: Media | Version: 3.5
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------
Comment (by joemcgill):
Replying to [comment:49 markoheijnen]:
> That is already the case with your patch. It's always dumping all the
Exif data or non at all. You only store the profile data and not the
property data.
I see what you mean about Exif properties. In all the images I tested,
Exif data was being saved as a profile as well, which is when adding the
filter would make the most sense. However, I think this is all academic at
this point, because calling `setImageProperties()` after `stripImage()`
won't actually preserve anything. We're probably better off doing
something similar to what's already in r36700 and delete profiles and
properties that we don't care about.
I like the idea of being able to switch off stripping in multi_resize
based on the intermediate image size.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28634#comment:50>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list