Re: ImageMagick

"Jürgen Spitzmüller" <[email protected]> Thu, 14 May 2026 10:44:58 +0200
Newsgroups gmane.editors.lyx.devel
Message-ID <[email protected]>
Am Donnerstag, dem 14.05.2026 um 10:02 +0200 schrieb Pavel Sanda:
> > 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.

IIRC convertDefault.py is only called if no converted is available from
prefs, right?

From Pavel's suggested approach 3, only a png to pdf chain (img2pdf) is
missing.

If I add to prefs

\converter "png" "pdf6" "img2pdf -o $$o $$i" ""

conversion of the problematic files to DVI works again, and the
converted graphics are actually of very good quality.

So should we add a test for this converter to configure.py?

Letting convertDefault.py check for the ImageMagick policy is still a
good idea.

-- 
Jürgen
-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel