[wp-trac] [WordPress Trac] #30402: WordPress does not respect the bit-depth of the original image when resizing
WordPress Trac
noreply at wordpress.org
Wed Feb 24 22:50:16 UTC 2016
#30402: WordPress does not respect the bit-depth of the original image when
resizing
--------------------------+------------------------------
Reporter: qdinar | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 3.9.2
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+------------------------------
Comment (by mikeschroder):
In [changeset:"36700"]:
{{{
#!CommitTicketReference repository="" revision="36700"
Media: Optimize Imagick settings for quality and filesize
- Resamples and sharpens larger images before resize.
- Uses imagick::FILTER_TRIANGLE for a smoother resize.
- Introduces `WP_Image_Editor_Imagick::thumbnail_image()` protected method
to efficiently resize images. Similar to the functionality of Imagick's
`thumbnailImage()`.
- Introduces `WP_Image_Editor_Imagick::strip_meta()` protected method and
`image_strip_meta` filter that, by default, strip image profiles to reduce
file size, while leaving color profiles intact.
See: #33642, #30402, #28634.
Props: joemcgill, dnewton, mikeschroder.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30402#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list