I am trying to use LibreOffice command line options to compress the image. However, I am unable to compress the image & it always gives the same image size. I am using below command for compression-
./office/opt/libreoffice5.4/program/soffice --headless --convert-to png:writer_png_Export:resolution=300 /app/tests/files/excel_single_sheet.xlsx --outdir /tmp/
Please let us know the suggestions.
Regards,
Sumant.