Hello, first of all, I don’t speak English very well, I apologize if I make any mistake writing.
I am developing a website that import xlsx files and gets all the images. Some xlsx are generated by a third party software in windows and when images are extracted I get files in wmf format.
For example I want to convert a wmf image (136x77 px) to jpg and I use the command:
libreoffice --headless --convert-to jpg uploads/temp/image.wmf --outdir uploads/converted/
As result I get a jpg image (794x1123 px) with white background and the tiny wmf img centered.
How do I convert to jpg keeping size of original wmf?
The xlsx file has inside many images with different sizes.
Thank you!
Best regards,
Edu.-