mirror of
https://github.com/schnaader/precomp-cpp
synced 2026-08-23 00:23:04 -04:00
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:
parent
05340bf9f6
commit
191ff35999
1 changed files with 2 additions and 1 deletions
|
|
@ -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++;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue