Link

Compress SVG

Generates compressed .svgz files rather than .svg (you will need to configure your web server to correctly serve these).

It is recommended to enable this setting as svg file sizes can be reduced by as much as 80-90%!

SVGZ files are simply SVG files which have been gzip compressed. Gzip compressed svg files are supported by all modern browsers (IE9 onwards, Firefox, Chrome, etc) as long as the web server is configured correctly.

More information: Enabling GZIP Compression

Expected values:

  • true
  • false

Default: false

Usage Examples

Command Line

-Dorg.jpedal.pdf2html.compressSVG=true

Cloud

{ "org.jpedal.pdf2html.compressSVG": true }

Java

conversionOptions.setCompressSVG(true);

What's included in your BuildVu trial?

  • Access to download the SDK and run it locally.
  • Access to the cloud trial to convert documents in the IDR cloud.
  • Access to the Docker image to set up your own trial server in the cloud.
  • Communicate with IDR developers to ask questions & get expert advice.
  • Plenty of time to experiment and build a proof of concept.
  • Over 100 articles to help you get started and learn about BuildVu.
  • An exceptional PDF to HTML converter that took over 20 years to build!

Start Your Free Trial