danmbox / briss2

Fork of Briss (http://briss.sourceforge.net/), an application for cropping PDF files
GNU General Public License v3.0
58 stars 13 forks source link

"Image to Big!" #5

Closed ylluminate closed 5 years ago

ylluminate commented 8 years ago

Interestingly I'm still hitting the "Image to Big!" error on certain PDFs. Have you seen what may be causing this?

ylluminate commented 8 years ago

So just fiddling around here, I modified this line to be: private static final int MAX_IMAGE_RENDER_SIZE = 4000 * 4000;

Instead of the default 2000 max and it works fine now.

Any reason it's set at 2000 and not something higher so as to not hit walls like this?

danmbox commented 8 years ago

I don't think there's any good reason the original code imposed this limitation.

danmbox commented 5 years ago

Enlarged in briss2-1.0.1-rc.1