emacs-devel
[Top][All Lists]
Advanced

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

Re: imagemagick format detection code


From: Lars Magne Ingebrigtsen
Subject: Re: imagemagick format detection code
Date: Sun, 11 Aug 2013 23:27:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

This is apparently a known bug -- ImageMagick isn't able to guess that
something is an ico file, so it needs "help" from the file name.  So one
could say something like

    MagickSetFilename(wand, "ico:favicon.ico");

But then we'd need to keep an alist of MIME types to suffixes like

Content-Type: image/x-icon

and feed that into `create-image' (er...  ":guessed-suffix"?) and then
set it with that function.

Meh.

-- 
(domestic pets only, the antidote for overdose, milk.)
  No Gnus T-Shirt for sale: http://ingebrigtsen.no/no.php
  and http://lars.ingebrigtsen.no/2013/08/twenty-years-of-september.html




reply via email to

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