Subject: Re: bug#51381: HEIF image format support

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 29 Oct 2021 14:34:08 +0200

Stefan Kangas <[email-masked]> writes:

> A) If e.g. GraphicsMagick fails, shouldn't we try falling back to the
>    other converters?

Sure.  We could re-probe the converters when something fails and then
use the other converter, for instance?  Or we could just probe every
time, but keep a table of what we've tried.

Or we could probe all the converters at startup, and maintain a mapping
of which converter does what -- that sounds cleanest.

> B) Could the above error message be better?  For example, could it say
>    which image converter(s) we tried?

Sure.  Patches for a) and b) are welcome.  :-)

> C) Shouldn't `image-use-external-converter' be t by default?

I dunno...  there's security implications.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no