[wp-trac] [WordPress Trac] #59764: Imagick squashes image for cropped size
WordPress Trac
noreply at wordpress.org
Sun Oct 29 12:02:00 UTC 2023
#59764: Imagick squashes image for cropped size
--------------------------+-----------------------------
Reporter: Iulia Cazan | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 6.3.3
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
I have an image sub-size that uses crop instead of scale, and when the
resulting image should upscale, GD does it OK-ish, Imagick is squashing
the content.
In both cases, the resulting image has the expected width and height, but
the content in the image generated with Imagick is not squashed. This
happens for a portrait ratio of the original image.
How I replicate this:
- sub-size: 1440x760 px + crop
- original file: 1152x2048 px
- using the `image_resize_dimensions` filter that returns the upscaled
computation
- upload file using GD
- upload the same file using Imagick
GD result - OK
https://imgur.com/EQTesQT
Imagick result - not OK
https://imgur.com/G0hjmo0
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59764>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list