Re: ImageMagick

Pavel Sanda <[email protected]> Thu, 14 May 2026 10:02:09 +0200
Newsgroups gmane.editors.lyx.devel
Message-ID <[email protected]>
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
-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel