unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* imagemagick support
@ 2012-05-15 14:55 Dirk-Jan C. Binnema
  2012-05-15 17:13 ` Peter Dyballa
  2012-10-23  9:17 ` Peter Dyballa
  0 siblings, 2 replies; 3+ messages in thread
From: Dirk-Jan C. Binnema @ 2012-05-15 14:55 UTC (permalink / raw)
  To: help-gnu-emacs

Hi all,

I'm experimenting a bit with the new imagemagick support in emacs 24. I
wonder if I am misunderstanding something.

After compiling the latest emacs-24 with imagemagick support, I do:

  (imagemagick-register-types)

After, (imagemagick-types) gives me a long list of types, including PNG,
JPEG etc. However, when I then try:

  (create-image "mypng.png")
  => (image :type png :file "mypng.png")

Still, if I explicitly do   
    (create-image "mypng.png" 'imagemagick)
  =>  (image :type imagemagick :file "mypng.png")
  
So, why isn't imagemagick used automatically?

Second question, when I load an image, I want it to be at most, say, 800
pixels. Using imagemagick, I can do:
      (create-image "mypng.png" 'imagemagick nil :width 800)
but that will also scale-up smaller images, which is not what I want.

Is there a way to only scale-*down* images, but leave smaller ones as
they are? I can call one of the imagemagick command line tools, but that
seems somewhat suboptimal.
 
      
Thanks,
Dirk.

-- 
Dirk-Jan C. Binnema                  Helsinki, Finland
e:djcb@djcbsoftware.nl           w:www.djcbsoftware.nl
pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: imagemagick support
  2012-05-15 14:55 imagemagick support Dirk-Jan C. Binnema
@ 2012-05-15 17:13 ` Peter Dyballa
  2012-10-23  9:17 ` Peter Dyballa
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Dyballa @ 2012-05-15 17:13 UTC (permalink / raw)
  To: Dirk-Jan C. Binnema; +Cc: help-gnu-emacs


Am 15.05.2012 um 16:55 schrieb Dirk-Jan C. Binnema:

> I'm experimenting a bit with the new imagemagick support in emacs 24.

Can you view images in GNU Emacs 24 with the means of ImageMagick? This seems to fail for me – because I did not compile in the usual graphics libraries support?

--
Greetings

  Pete

Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.
		– Bill Watterson, in his comic strip Calvin and Hobbes




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: imagemagick support
  2012-05-15 14:55 imagemagick support Dirk-Jan C. Binnema
  2012-05-15 17:13 ` Peter Dyballa
@ 2012-10-23  9:17 ` Peter Dyballa
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Dyballa @ 2012-10-23  9:17 UTC (permalink / raw)
  To: Dirk-Jan C. Binnema; +Cc: help-gnu-emacs


Am 15.05.2012 um 16:55 schrieb Dirk-Jan C. Binnema:

> I'm experimenting a bit with the new imagemagick support in emacs 24. I
> wonder if I am misunderstanding something.

Recently GNU Emacs 24.2.50 introduced better and obviously working ImageMagick support…

--
Greetings

  Pete

               (This space left blank for technical reasons.)




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-10-23  9:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-15 14:55 imagemagick support Dirk-Jan C. Binnema
2012-05-15 17:13 ` Peter Dyballa
2012-10-23  9:17 ` Peter Dyballa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).