feat(libreoffice): add image options (#898)

* feat: libre office image options

* refactor: PR comment changes

* fix: change lossLessImageCompression default to false

---------

Co-authored-by: Gareth Judson <gareth.judson@delwp.vic.gov.au>
This commit is contained in:
garethjudson
2024-06-13 18:28:36 +10:00
committed by GitHub
parent b1d94a3845
commit 669a35afef
4 changed files with 94 additions and 14 deletions

View File

@@ -58,6 +58,14 @@ type Options struct {
// Optional
SinglePageSheets bool
// LosslessImageCompression allows turning lossless compression on or off to tweak image conversion performance.
// Optional
LosslessImageCompression bool
// ReduceImageResolution allows turning on or off image resolution reduction to tweak image conversion performance.
// Optional
ReduceImageResolution bool
// PdfFormats allows to convert the resulting PDF to PDF/A-1b, PDF/A-2b,
// PDF/A-3b and PDF/UA.
// Optional.