[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1082830: unpaper: sometimes the data loss happens even for 300dpi pages



Package: unpaper
Followup-For: Bug #1082830
X-Debbugs-Cc: debbug.1082830@sideload.33mail.com

The defect is very reproduceable when the width well exceeds 2550
pixels. However, even when an image is normal (2550 pixels wide a4,
300dpi), it sometimes still truncates ⅓ of the image.

The following two images went through the same processing prior to
feeding to unpaper:

===8<----------------------------------------
$ identify broken.pgm workng.pgm
broken.pgm PGM 2550x3508 2550x3508+0+0 8-bit Grayscale Gray 8.53101MiB 0.030u 0:00.042
workng.pgm PGM 2550x3508 2550x3508+0+0 8-bit Grayscale Gray 8.53101MiB 0.040u 0:00.122
===8<----------------------------------------

The images have the same geometry. Yet broken.pgm lost a chunck of
content and workng.pgm had no issue. So images >2550 pixels wide are
reproduceable but images at 2550 pixels wide are unpredictably broken.


Reply to: