() Lars Magne Ingebrigtsen () Mon, 12 Aug 2013 17:17:39 +0200 Yes. This will add to the general confusion in this area. Another idea (that may or may not increase confusion) is to use GNU libextractor: http://www.gnu.org/software/libextractor/ for image type (format) detection, and perhaps (w/ a SMOP) as an additional "magic" for ‘magic-mode-alist’, something like: (EXTRACTOR-SPEC . FUNCTION) where EXTRACTOR-SPEC is a non-string (otherwise it would be taken as REGEXP) form that configures libextractor to DTRT. -- Thien-Thi Nguyen GPG key: 4C807502 (if you're human and you know it) read my lisp: (responsep (questions 'technical) (not (via 'mailing-list))) => nil