-1

I've spent many hours searching for open-source code or utilities (but NOT the full LibreOffice suite) that would let me convert an ODG (Open Document Graphic) image to any standard format like PNG or JPEG. I'm hoping to find such a tool for both Windows and macOS, but would be grateful to have a tool for one or the other if I can't have both.

I know that I can install LibreOffice and run soffice -headless -invisible -convert-to etc. to do this job, and I know that it can be done with LibreOffice running as a service. But I'm trying to find something that I can distribute to other users without requiring them to install LibreOffice (or some earlier equivalent like OpenOffice, etc.).

I also know that many online converters exist, but I am looking for a command-line tool that won't expose a user's files to third parties who may snoop on the data.

Does such a command-line tool or library exist?

0

1 Answer 1

-1

Please try command line in form

soffice --headless --nologo --nofirststartwizard --norestore  --convert-to jpg:draw_jpg_Export "full_path_and_filename_source_draw_document.odg" --outdir path_to_output_folder

Name of filter can be draw_png_Export or any other

Sign up to request clarification or add additional context in comments.

1 Comment

Thank you - but the question asked for a solution that did NOT require the user to install LibreOffice. I am trying to create a utility that users can download and use without having LibreOffice. As far as I can tell, the command line that you offered requires LibreOffice to be installed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.