GNU bug report logs - #18797
24.4; Unable to do image transforms even when emacs is compiled with Imagemagick

Previous Next

Package: emacs;

Reported by: Kaushal <kaushal.modi <at> gmail.com>

Date: Wed, 22 Oct 2014 17:19:02 UTC

Severity: minor

Tags: notabug

Found in version 24.4

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 18797 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Kaushal <kaushal.modi <at> gmail.com>
Cc: 18797 <at> debbugs.gnu.org
Subject: Re: bug#18797: 24.4;
 Unable to do image transforms even when emacs is compiled with
 Imagemagick
Date: Wed, 22 Oct 2014 13:52:41 -0400
This message was over 1 MB. Please compress attachments in future.
No need to resend this one, since interested people can fetch the attachment
from http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18797#5 .
(But I think it has no relevance anyway.)

Kaushal wrote:

> I have compiled emacs with Imagemagick (the config.log file is attached).
>
> But "M-x image-transform-set-scale" is not working for me. The image scale
> stays the same when I set the scale to 0.5. I tested it with bot png and
> jpg images.
>
> But the eimp package is working fine (which uses mogrify from Imagemagick).
>
> When an image is open in a buffer, evaluating "(eq image-type
> 'imagemagick)" returns "nil".

Right, so it's not an ImageMagick image, so you can't transform it.
Emacs uses libjpeg for jpgs by default.
Try testing it on a format that Emacs does't support otherwise, eg bmp.
You have to force the images to be created with type imagemagick to be
able to scale them. This remains poorly documented IMO; 
http://debbugs.gnu.org/10746

> What am I missing in enabling the imagemagick detection for functions like
> image-transform-set-scale?




This bug report was last modified 5 years and 245 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.