From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey Spencer Subject: Re: scale inline images in orgmode Date: Wed, 29 Aug 2012 21:57:44 +1000 Message-ID: References: <14024726.E93JukLEF0@linux-nyil.site> <20120828203459.GA5260@cardamom.adamsinfoserv.com> <20120828233100.362fe477@vknecht-intel.unibw-hamburg.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d044282a641c3ff04c866447c Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60193) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6gu4-0000be-21 for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 07:57:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6gu2-0006bA-Ps for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 07:57:47 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:46045) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6gu2-0006at-Ao for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 07:57:46 -0400 Received: by wgbdt14 with SMTP id dt14so288328wgb.30 for ; Wed, 29 Aug 2012 04:57:44 -0700 (PDT) In-Reply-To: <20120828233100.362fe477@vknecht-intel.unibw-hamburg.de> 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: Detlef Steuer Cc: emacs-orgmode@gnu.org --f46d044282a641c3ff04c866447c Content-Type: text/plain; charset=ISO-8859-1 +1 On Aug 29, 2012 7:31 AM, "Detlef Steuer" wrote: > 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 > > > > > > > > --f46d044282a641c3ff04c866447c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

+1

On Aug 29, 2012 7:31 AM, "Detlef Steuer&quo= t; <detlef.steuer@gmx.de>= wrote:
On Tue, 28 Aug 2012 15:34:59 -0500
Russell Adams <RLAdams@AdamsInfoServ.Com> 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=3D0.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<= br> > 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 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0R= LAdams@AdamsInfoServ.com
>
> PGP Key ID: =A0 =A0 0x1160DCB3 =A0 =A0 =A0 =A0 =A0 http://www.adamsinfoserv.com/<= br> >
> Fingerprint: =A0 =A01723 D8CA 4280 1EC9 557F =A066E8 1154 E018 1160 DC= B3
>
>



--f46d044282a641c3ff04c866447c--