emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resizing images


From: joakim
Subject: Re: Resizing images
Date: Tue, 31 Aug 2010 08:05:38 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Lars Magne Ingebrigtsen <address@hidden> writes:

> Lars Magne Ingebrigtsen <address@hidden> writes:
>
>>>  libmagick++-dev
>>>
>>> should do the trick.
>>
>> Thanks; it did.
>
> Reading the docs:
>
> -------
> - if the :width and :height keywords are specified, these values are
> used for scaling the image. If only one of :width or :height is
> specified, the other one will be calculated so as to preserve the
> aspect ratio.If both :width and :height are specified, aspect ratio
> will not be preserved.
> -------
>
> I did this:
>
> (create-image file nil nil
>               :width 100
>               :height 100)
>
> But the resulting image was not rescaled.

This is dependent on the loader. Try a file format that gets loaded with
the imagemagick loader.

-- 
Joakim Verona



reply via email to

[Prev in Thread] Current Thread [Next in Thread]