From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Resizing images Date: Tue, 31 Aug 2010 01:26:51 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: <201008302123.49568.tassilo@member.fsf.org> <87tymbyihs.fsf@keller.adm.naquadah.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1283210840 28626 80.91.229.12 (30 Aug 2010 23:27:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 30 Aug 2010 23:27:20 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 31 01:27:19 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OqDkz-0005d0-La for ged-emacs-devel@m.gmane.org; Tue, 31 Aug 2010 01:27:18 +0200 Original-Received: from localhost ([127.0.0.1]:35123 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqDky-0002fK-Q7 for ged-emacs-devel@m.gmane.org; Mon, 30 Aug 2010 19:27:16 -0400 Original-Received: from [140.186.70.92] (port=44315 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqDkq-0002ej-0B for emacs-devel@gnu.org; Mon, 30 Aug 2010 19:27:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OqDkl-0000GO-AB for emacs-devel@gnu.org; Mon, 30 Aug 2010 19:27:07 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:54066) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OqDkk-0000GF-U9 for emacs-devel@gnu.org; Mon, 30 Aug 2010 19:27:03 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OqDki-0005Sj-Ii for emacs-devel@gnu.org; Tue, 31 Aug 2010 01:27:00 +0200 Original-Received: from cm-84.215.34.171.getinternet.no ([84.215.34.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 31 Aug 2010 01:27:00 +0200 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 31 Aug 2010 01:27:00 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 29 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEV0YCtLJxotBQ0KAAPY w3mUgDbAKQEDAAACTUlEQVQ4jWWTS3LkIAyGRZfZI9LeNyJzgOAL2FWwd1dJ97/K/MLdyVSGFejT W4KEhZPNo8P6MAvGH9tGhQvH+A/Y6cnZAeFEUx3aJzpjmIDpjLTolO0aAchBBQhuYXZG3ZcIM7cQ t/ADQKQzzrDcBCBNQHE4UOudQt0cXH4s0gTaz8DbJtUBtGzAU1SLOhJTbbmKvwGQS7RlmB6JQy61 feHdcYadZstuPXDxbNsfSrYAoDyjBTUSb4KOlI6WJFRGhPwBBmdEkPbZSTKTofrhNejJXBvXL5jm B8UzQt3BSSha9npHOSlEuB4RJgD6FLnv3B0QqkLCNpD32Z/MOjwdorun2z1d7UAO+gTL1DefSZ8d 0alJtsIBmj474Iph+hjewzQtrg4A8F39EiiUEWFxeRjwVTxLaOQSio9pgv0MWXT4iIIU5jjiKyaj xOV0eRApWKwXOLnktnoK6BpMolexI/MBvYbNYSo3kZQAPCNEfa76IXCItmMVsSW6Mw5I7zfBBlFJ eBMa6Jy9fXaUCVY8ETl7clxSH3pU1wXwRblJxoaFB6+9H5iVx/CNwhj4OnLv2LgLRD3kB8gS8saZ OJENyOvc1dBANCAIJhgRGDv58E29wX0uOwQe4ObyrTjA/jcp6+G7G59TvhVUf2bcWsnLUYkgF8gb 0sEq1HktijHl7HLooYXHtN3Q7kH5uuPhFtPY/a6UX1eZFu/X9kWvS5MHJrW/7fGdv0Hqc0z/A+94 53eQbyDNLXqqb5MfsDp4/gatXgCjkF+gzK3f8/YCfwE9AsXKvX6IIwAAAABJRU5ErkJggg== Mail-Copies-To: never X-Now-Playing: Next Life's _The Lost Age_: "Sol Blade" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:wZO1Tu4o2aAuYnyUTJYCzlEcC18= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:129464 Archived-At: Lars Magne Ingebrigtsen 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. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen