Hello,
I am looking for a way to change the resolution of PNG generated by libreoffice without user interaction.
Here is an example
>> echo "example of PNG conversion" > example.txt
>> libreoffice --convert-to png example.txt
>> eog example.png # eye of gnome to display the file
The image generated by libreoffice from a A4 document has only 794 x 1123 pixels.
(With 96 points per 2.54 cm, 21 x 29.7 cm is 793.7 x 1122.5, this is ok.)
I have tried with no luck several options to change the output resolution like:
>> libreoffice --convert-to png:writer_png_Export:resolution=300 example.txt
Maybe I could edit a file somewhere to change the output resolution from 96 to 300 DPI?
Thank you.
Michael