Link

Image Scale

Write out larger images to allow higher quality zooming.

Default value is 1, which produces images at the same size they are displayed when the zoom is 100%. A value of 1.5 will generate images at 1.5x the standard size. The maximum size of an image is capped at the size of the source image stored in the PDF file. For example if the source image is 150x150, then increasing the imageScale value will not generate an image larger than 150x150.

It is important to remember that file size grows exponentially with the scaling factor. For example, scaling an image by 2 actually multiplies the number of pixels by 4. We therefore recommend a value such as 1.5 or 2.

Expected values:

  • Float value greater than 1 e.g. 1.5, 2

Default: 1

Since: 2019.12

Usage Examples

Command Line

-Dorg.jpedal.pdf2html.imageScale="1.5"

Cloud

{ "org.jpedal.pdf2html.imageScale": 1.5 }

Java

conversionOptions.setImageScale(1.5f);

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