Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug - "-squeeze" option corrupts file display #90

Open
necros2k7 opened this issue Jul 18, 2024 · 4 comments
Open

Bug - "-squeeze" option corrupts file display #90

necros2k7 opened this issue Jul 18, 2024 · 4 comments

Comments

@necros2k7
Copy link

necros2k7 commented Jul 18, 2024

Displaying fine while using -squeeze-no-pagedata option. Wish it can be autoselected when processing file if reason is some object. (win11)

ksnip_20240719-003336

sample GameplayAbilities and You - Epic Wiki_opt3_5.pdf.gz

@johnwhitington
Copy link
Contributor

Works fine here, in both MacOS Preview and Adobe Reader.

(Well actually, Adobe Reader shows "page dimensions out of range" but that's the case before squeezing too.)

What error do you actually see?

@necros2k7
Copy link
Author

necros2k7 commented Jul 18, 2024

@johnwhitington vertical black lines separating Page Discussion Read tabs

ksnip_20240719-005240

@necros2k7 necros2k7 changed the title Bug -squeeze option corrupts file display Bug "-squeeze" option corrupts file display Jul 18, 2024
@necros2k7 necros2k7 changed the title Bug "-squeeze" option corrupts file display Bug - "-squeeze" option corrupts file display Jul 19, 2024
@johnwhitington
Copy link
Contributor

johnwhitington commented Oct 11, 2024

This is a bug in the recently-added code to recompress inline images with predictors. Either a bug in Pdfcodec.encode_predictor or its use. Possibly due to the images being one pixel wide. Must fix for v2.8. Fix or revert, anyway.

@johnwhitington
Copy link
Contributor

Reverted for upcoming v2.7.2. Will fix for v2.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants