emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] scale inline images in orgmode


From: Russell Adams
Subject: Re: [O] scale inline images in orgmode
Date: Tue, 28 Aug 2012 15:34:59 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

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.

Thanks.


------------------------------------------------------------------
Russell Adams                            address@hidden

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3



reply via email to

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