View Single Post
Old 05-22-2022, 08:13 AM   #148
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,709
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by KevinH View Post
Any interest in a patch or pr to check for and use libreoffice in headless mode via a subprocess to convert .wmf and .emf images to .png images on the fly?

It will work on Linux, MacOS and should work on Windows if LibreOffice is installed on the system running the plugin.

See this post for reasoning and details.

https://www.mobileread.com/forums/sh...&postcount=219

If interested, let me know and I am willing to take shot at it. Changes should be restricted to your ImageWriter routine (hopefully) plus a routine to make a subprocess call.

Thanks
I'm absolutely baffled how I missed seeing your post for over a year! I did experiment with using ImageMagic to convert (w|e)mf images at one point, but I can't remember why I didn't ever implement it. Times (and priorities) change, but if you ever circle back to this idea, i's be happy to include anything you come up with.
DiapDealer is offline   Reply With Quote