From: Tassilo Horn <tassilo@member.fsf.org>
To: emacs-orgmode@gnu.org
Subject: Re: (org-display-inline-images)
Date: Mon, 07 Feb 2011 09:52:07 +0100 [thread overview]
Message-ID: <8739o08bwo.fsf@fastmail.fm> (raw)
In-Reply-To: 87fws01ya2.fsf@gnu.org
Bastien <bastien.guerry@wikimedia.fr> writes:
Hi Bastien,
>> Another nice thing would be a way to reduce the image size, just like
>> thumbnails. Do you think it can be done ?
>
> Not currently -- see the docstring of the create-image function in
> Emacs. I have vague memory of work beeing done in this area in Emacs,
> but AFAIK this is not yet implemented.
If the imagemagick backend is used for displaying the image in question,
then resizing is possible by providing a :width or/and :height spec.
,----
| Images loaded with ImageMagick support a few new display
| specifications:
|
| `:width, :height'
| The `:width' and `:height' keywords are used for scaling the
| image. If only one of them is specified, the other one will be
| calculated so as to preserve the aspect ratio. If both are
| specified, aspect ratio may not be preserved.
`----
But that new feature is only present in the current bzr trunk. You
might want to have a look at the included `doc-view.el', which uses that
facility to zoom images if imagemagick support is present:
`doc-view-enlarge' and `doc-view-shrink'.
The git version of Gnus (and the version included in the emacs bzr
trunk) also use that feature in `shr.el' to render inline images with an
appropriate size in HTML mails.
Bye,
Tassilo
next prev parent reply other threads:[~2011-02-07 8:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-06 11:45 (org-display-inline-images) Jonathan BISSON
2011-02-07 0:30 ` (org-display-inline-images) Bastien
2011-02-07 8:52 ` Tassilo Horn [this message]
2011-02-07 9:18 ` (org-display-inline-images) Bastien
2011-07-18 19:49 ` (org-display-inline-images) Marcus Klemm
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.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8739o08bwo.fsf@fastmail.fm \
--to=tassilo@member.fsf.org \
--cc=emacs-orgmode@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/org-mode.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).