Fix -pdfbmp+ statistics

- if 8-bit image size didn't match, don't count the stream as PDF 8-bit
- fixes #27
This commit is contained in:
Christian Schneider 2018-09-19 07:28:00 +02:00
parent 05340bf9f6
commit 191ff35999

View file

@ -3302,7 +3302,8 @@ void try_decompression_pdf(int windowbits, int pdf_header_length, int img_width,
if (DEBUG_MODE) {
printf("Image size didn't match with stream size\n");
}
recompressed_pdf_count--;
decompressed_pdf_count_8_bit--;
decompressed_pdf_count++;
}
}