Fix recently-introduced image_set_crop typo
* src/image.c (image_set_crop) [!HAVE_NATIVE_TRANSFORMS]: Don’t call compute_image_size, as it does not exist and its result is not needed.
This commit is contained in:
parent
486a81f387
commit
cfb592fd4b
1 changed files with 1 additions and 1 deletions
|
@ -2057,9 +2057,9 @@ image_set_rotation (struct image *img, matrix3x3 tm)
|
|||
static void
|
||||
image_set_crop (struct image *img, matrix3x3 tm)
|
||||
{
|
||||
#ifdef HAVE_NATIVE_TRANSFORMS
|
||||
int width, height;
|
||||
compute_image_size (img->width, img->height, img->spec, &width, &height);
|
||||
#ifdef HAVE_NATIVE_TRANSFORMS
|
||||
# ifdef HAVE_IMAGEMAGICK
|
||||
/* ImageMagick images are already cropped. */
|
||||
if (EQ (image_spec_value (img->spec, QCtype, NULL), Qimagemagick))
|
||||
|
|
Loading…
Add table
Reference in a new issue