ImageMagick

Pavel Sanda sanda at lyx.org
Thu May 14 09:12:05 UTC 2026


On Thu, May 14, 2026 at 10:44:58AM +0200, Jürgen Spitzmüller wrote:
> IIRC convertDefault.py is only called if no converted is available from
> prefs, right?

Sounds correct.

> 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.

Good news then.

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

Is the implication that on any machine having img2pdf installed
we prefer it over IM's convert (even if IM is functional?).

It might be better to check IM's functionality first and add this
converter only IM is banned as we do for eps->png?

Pavel


More information about the lyx-devel mailing list