GNU bug report logs -
#10112
ImageMagick doesn't display some image formats
Previous Next
Reported by: Juri Linkov <juri <at> jurta.org>
Date: Tue, 22 Nov 2011 22:09:02 UTC
Severity: normal
Tags: fixed, patch
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #28 received at 10112 <at> debbugs.gnu.org (full text, mbox):
I'm starting to adapt this patch to the recent changes in bug#11557.
I propose the following modifications:
1. Currently the priority of specialized image libraries over
ImageMagick is hard-coded in `imagemagick-register-types' as:
;; Append to `image-type-file-name-regexps', so that we
;; preferentially use specialized image libraries.
(add-to-list 'image-type-file-name-regexps
(cons re 'imagemagick) t)
It could use a new customizable variable where the user can specify
whether to use ImageMagick for all enabled image types, or use
available specialized libraries. The same option could also specify the
priority of `imagemagick' elements in `image-type-header-regexps'.
Or maybe this new option is not necessary, and `imagemagick'
should have the highest priority. When the user wants to use
specialized image libraries, it's possible to remove conflicting
image types (such as jpeg/png/gif) from `imagemagick-enabled-types'.
2. The most user-friendly UI to enable image types
is to allow the user to select a set of enabled formats
from the list of all available formats displayed as checkboxes.
This is like during installation of some graphical programs
when they present a list of available image format to allow the user
to associate them with file extensions.
It's possible to do this in Customization UI using the following type
for `imagemagick-enabled-types':
:type (cons 'set (mapcar
(lambda (type)
(list 'const type))
(sort (imagemagick-types) 'string<)))
3. `imagemagick-types-inhibit' could use the same customization type,
and it should be renamed to `imagemagick-disabled-types' or completely
removed, with adding a new element to `imagemagick-enabled-types'
that will specify whether the list excludes/includes the defined types.
This bug report was last modified 9 years and 85 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.