From mboxrd@z Thu Jan 1 00:00:00 1970 From: Detlef Steuer Subject: Re: scale inline images in orgmode Date: Tue, 28 Aug 2012 23:31:00 +0200 Message-ID: <20120828233100.362fe477@vknecht-intel.unibw-hamburg.de> References: <14024726.E93JukLEF0@linux-nyil.site> <20120828203459.GA5260@cardamom.adamsinfoserv.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6TNc-0004aC-8O for emacs-orgmode@gnu.org; Tue, 28 Aug 2012 17:31:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6TNb-0004vt-3y for emacs-orgmode@gnu.org; Tue, 28 Aug 2012 17:31:24 -0400 Received: from plane.gmane.org ([80.91.229.3]:33550) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6TNa-0004uU-TE for emacs-orgmode@gnu.org; Tue, 28 Aug 2012 17:31:23 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1T6TNV-0003nq-05 for emacs-orgmode@gnu.org; Tue, 28 Aug 2012 23:31:17 +0200 Received: from vknecht-intel.unibw-hamburg.de ([139.11.181.51]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Aug 2012 23:31:16 +0200 Received: from detlef.steuer by vknecht-intel.unibw-hamburg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Aug 2012 23:31:16 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On Tue, 28 Aug 2012 15:34:59 -0500 Russell Adams wrote: > On Tue, Aug 28, 2012 at 10:13:18PM +0200, AW wrote: > > > > I would like to scale the images on screen in the buffer, often I don't need a > > large picture, but just a reminder, what's on the picture. Is there a way to > > scale the image on screen, something like #+ATTR: scale=0.5 ? > > Alexander, > > I believe Org calls out to image.el via create-image. That doesn't > appear to do any resizing. > > I read there may be compiled in Emacs support for Imagemagick, and I > have existing elisp code that shells out to resize images for display > separate from Org via Imagemagick's convert utility. > > To Org devs, would it be difficult to add a wrapper around the > create-image call that only resizes if the image will exceed certain > dimensions (ie: window width or 75% of height?). > > This is a feature I'd love to see. +1 Detlef > > Thanks. > > > ------------------------------------------------------------------ > Russell Adams RLAdams@AdamsInfoServ.com > > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 > >