unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: joakim@verona.se
To: emacs-devel@gnu.org
Subject: Re: Resizing images
Date: Tue, 31 Aug 2010 08:05:38 +0200	[thread overview]
Message-ID: <m31v9fco5p.fsf@verona.se> (raw)
In-Reply-To: <m3pqwzadhg.fsf@quimbies.gnus.org> (Lars Magne Ingebrigtsen's message of "Tue, 31 Aug 2010 01:26:51 +0200")

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Lars Magne Ingebrigtsen <larsi@gnus.org> 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	other threads:[~2010-08-31  6:05 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-30 16:34 Resizing images Lars Magne Ingebrigtsen
2010-08-30 19:23 ` Tassilo Horn
2010-08-30 19:38   ` Lars Magne Ingebrigtsen
2010-08-30 20:04     ` Julien Danjou
2010-08-30 20:04     ` Julien Danjou
2010-08-30 20:14       ` Lennart Borgman
2010-08-30 20:17       ` Lars Magne Ingebrigtsen
2010-08-30 23:26         ` Lars Magne Ingebrigtsen
2010-08-31  6:05           ` joakim [this message]
2010-08-31  8:02             ` Julien Danjou
2010-08-31  8:32               ` joakim
2010-08-31 14:55                 ` Lars Magne Ingebrigtsen
2010-09-01  8:40                   ` joakim
2010-09-01 15:07                     ` Lars Magne Ingebrigtsen
2010-08-31 14:52             ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m31v9fco5p.fsf@verona.se \
    --to=joakim@verona.se \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).