red6 / pdfcompare

A simple Java library to compare two PDF files
Apache License 2.0
220 stars 66 forks source link

Allow custom DPI in the settings #66

Closed pec0ra closed 4 years ago

pec0ra commented 4 years ago

Currently, the DPI of the comparison images is fixed at 300. It would be good to have an option in the settings (application.conf and Java API) to change it to other values.

finsterwalder commented 4 years ago

Good idea. I will add that soon.

finsterwalder commented 4 years ago

I just created version 1.1.45, which allows to set DPI through the environment. May take a few hours, until the version shows up in maven central (as always). This also brings along the change, that withEnvironment(...) needs to be called before any withIgnore(...) method calls.