ImageMagick

Pavel Sanda sanda at lyx.org
Thu May 14 08:02:09 UTC 2026


On Wed, May 13, 2026 at 05:58:38PM +0100, José Matos wrote:
> On Wed, 2026-05-13 at 18:39 +0200, Jürgen Spitzmüller wrote:
> > OK, can we implements these in convertDefault.py as alternative in case
> > magick doesn't exist or permit conversion?
> 
> Yes, we can.
> 
> The basic idea is to use a fall through approach where we do some kind of test
> and, if it fails, we go the next option.
> 
> Without looking into the code I think that we just check for the program but do
> not ensure that the output is what is to be expected.
> 
> I can look into it in the next week if this is the best way.

We have explicit checks for banned IM eps->png delegate (but in configure.py,
not convertDefault.py) which you might want to assimilate, check bd0510b08ff6f. 

Putting the fallback directly into convertDefault.py might leave less .log
traces to check the problems in users reports.
Pavel


More information about the lyx-devel mailing list