From: joakim@verona.se
To: Julien Danjou <julien@danjou.info>
Cc: emacs-devel@gnu.org
Subject: Re: Resizing images
Date: Tue, 31 Aug 2010 10:32:57 +0200 [thread overview]
Message-ID: <m38w3nb2rq.fsf@verona.se> (raw)
In-Reply-To: <sa3r5hf2ork.fsf@cigue.easter-eggs.fr> (Julien Danjou's message of "Tue, 31 Aug 2010 10:02:39 +0200")
Julien Danjou <julien@danjou.info> writes:
> On Tue, Aug 31 2010, joakim@verona.se wrote:
>
>> This is dependent on the loader. Try a file format that gets loaded
>> with the imagemagick loader.
>
> This seems awkward. Why isn't everything loaded with ImageMagick, at
> least when emacs is compiled with it?
You can have several loaders compiled in at the same time. Configure
will normaly pick up all available libraries, so having more than one
loader able to load jpeg, for instance, is normal when imagemagick is enabled.
You can make the imagemagick support feign ignorance of particular image
types with imagemagick-types-inhibit, which by default has the value (C
HTML HTM TXT PDF).
There is currently AFAIK no way to change the priorities of the loaders.
In order to get the desired loader, change image-type-file-name-regexps,
or explicitly provide the loader when making the display spec:
(put-text-property 10 11 'display (list 'image :type 'imagemagick :file "/home/joakim/my_scans/doc.djvu[1]"))
Clearly a better api will be beneficial. When I merged the patch I
focused on minimizing the breakage of other packages. Even so, Cygwin
and DOS builds broke. Now that most issues seem resolved, we can maybe
continue with improving the api.
--
Joakim Verona
next prev parent reply other threads:[~2010-08-31 8:32 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-30 16:34 Resizing images Lars Magne Ingebrigtsen
2010-08-30 19:23 ` Tassilo Horn
2010-08-30 19:38 ` Lars Magne Ingebrigtsen
2010-08-30 20:04 ` Julien Danjou
2010-08-30 20:04 ` Julien Danjou
2010-08-30 20:14 ` Lennart Borgman
2010-08-30 20:17 ` Lars Magne Ingebrigtsen
2010-08-30 23:26 ` Lars Magne Ingebrigtsen
2010-08-31 6:05 ` joakim
2010-08-31 8:02 ` Julien Danjou
2010-08-31 8:32 ` joakim [this message]
2010-08-31 14:55 ` Lars Magne Ingebrigtsen
2010-09-01 8:40 ` joakim
2010-09-01 15:07 ` Lars Magne Ingebrigtsen
2010-08-31 14:52 ` Lars Magne Ingebrigtsen
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m38w3nb2rq.fsf@verona.se \
--to=joakim@verona.se \
--cc=emacs-devel@gnu.org \
--cc=julien@danjou.info \
/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.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).