Am 27.08.2017 um 12:01 schrieb Enrico Forestieri <for...@lyx.org>: > > On Sat, Aug 26, 2017 at 08:14:57PM +0200, Stephan Witt wrote: >> >> ATM, I don’t have a solution for this problem. The inclusion of ImageMagick >> as part of the LyX bundle doesn’t look attractive. Much work and not a good >> system design. And definitively not possible for the LyX 2.3.0 release. > > I wonder whether a home-made ImageMagick can help. The attached very small > program converts any image format known to Qt5 to the format specified by > the extension of the output file.
Thank you for your ideas… your hint regarding the change for #9778 was useful too. I’m not 100% sure how it works now. (I have problems to test all these things, on my system are so much tools installed - it’s difficult to get a virgin state). After moving all SVG2PNG conversion tools away LyX presents the svgz icons on screen - I had expected it to fail because of the #9778 change. Is it only a „trick“ to force external conversion if possible? I tried to make your proposal working and it looks not bad. ATM, I see the following open tasks: 1. It converts SVG but not SVGZ - should be possible to improve 2. It should be a console application like tex2lyx 3. If bundled with LyX it should considered as a fallback only I can take care for 2 and 3. For 1 a hint or a solution would be fine. Thanks, Stephan