[wp-trac] [WordPress Trac] #33642: Improve default Imagick compression settings
WordPress Trac
noreply at wordpress.org
Wed Feb 24 15:20:06 UTC 2016
#33642: Improve default Imagick compression settings
-------------------------+------------------------
Reporter: joemcgill | Owner: joemcgill
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.5
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------+------------------------
Comment (by joemcgill):
Replying to [comment:35 menkom]:
> @joemcgill What sort of meta data specifically gets stripped are you
talking exif ? or something else
The current `strip_meta()` method will remove all image profiles except
for ICC and ICM data from resized images, so EXIF or other vendor profiles
would be removed. However, any EXIF or other data set as an image property
would remain (which seems common in my tests). The specific list of image
properties that we explicitly remove in this step include:
* comment
* Thumb::URI
* Thumb::MTime
* Thumb::Size
* Thumb::Mimetype
* software
* Thumb::Image::Width
* Thumb::Image::Height
* Thumb::Document::Pages
The current patches propose that we include a filter to override this
behavior, with the assumption that most users would benefit from the
reduced file size and sites that require keeping all image metadata on
resized images could override this setting fairly easily.
The original, full-size images that are uploaded are not affected by this
process.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33642#comment:38>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list