[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Resizing images
From: |
Tassilo Horn |
Subject: |
Re: Resizing images |
Date: |
Mon, 30 Aug 2010 21:23:49 +0200 |
User-agent: |
KMail/1.13.5 (Linux/2.6.35-gentoo-r5; KDE/4.5.0; x86_64; ; ) |
On Monday 30 August 2010 18:34:08 Lars Magne Ingebrigtsen wrote:
Hi Lars,
> Does the Emacs image functions (`create-image' and friends) have any
> way to say "if this image is bigger than X by Y, then resize it before
> returning the image handle"? Or alternatively, just an `image-resize'
> command.
If emacs is compiled with --with-imagemagick it is possible. But that's
pretty new in emacs's bzr trunk (2 weeks or so). Have a look at the
README.imagemagick file and the info docs.
,----[ (info "(elisp)ImageMagick Images") ]
| The Imagemagick library can be used to load many image formats in
Emacs.
`----
> It would be really handy when displaying articles in Gnus that have
> large images to be able to have them scaled down so that you can
> actually see them in the buffer.
Yeah, doc-view also could make advantage out of that.
But the README.imagemagick leaves my with some further questions. How
do I know if imagemagick support is compiled in? Is
(if (fboundp 'imagemagick-types) ... ...)
the way to go?
And if it's there, how do I know if `create-image' will actually use
imagemagick to load an image file?
And, how do I know if a given image is loaded by the imagemagick
backend?
Bye,
Tassilo
- Resizing images, Lars Magne Ingebrigtsen, 2010/08/30
- Re: Resizing images,
Tassilo Horn <=
- Re: Resizing images, Lars Magne Ingebrigtsen, 2010/08/30
- Re: Resizing images, Julien Danjou, 2010/08/30
- Re: Resizing images, Julien Danjou, 2010/08/30
- Re: Resizing images, Lennart Borgman, 2010/08/30
- Re: Resizing images, Lars Magne Ingebrigtsen, 2010/08/30
- Re: Resizing images, Lars Magne Ingebrigtsen, 2010/08/30
- Re: Resizing images, joakim, 2010/08/31
- Re: Resizing images, Julien Danjou, 2010/08/31
- Re: Resizing images, joakim, 2010/08/31
- Re: Resizing images, Lars Magne Ingebrigtsen, 2010/08/31