Skip to content

Fix quality drop when image is cropped - #749

Merged
cyanfish merged 1 commit into
cyanfish:masterfrom
purdeaandrei:f_fix_quality_drop_when_image_is_cropped
Sep 7, 2026
Merged

cyanfish merged 1 commit into
cyanfish:masterfrom
purdeaandrei:f_fix_quality_drop_when_image_is_cropped

Conversation

@purdeaandrei

Copy link
Copy Markdown
Contributor

If the image is originally scanned with maximum quality, then it would normally save as a png encoded image inside the pdf. However cropping the image would make it save as a jpeg-encoded image. This PR fixes that issue.

@cyanfish
cyanfish force-pushed the master branch 2 times, most recently from 2cda1cb to ba9d7ec Compare July 18, 2026 22:51
@cyanfish
cyanfish merged commit 821b2a9 into cyanfish:master Sep 7, 2026
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

Successfully merging this pull request may close these issues.

2 participants