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

Posterized output silently fail when default compression is JPEG #164

Open
hfiguiere opened this issue Jan 6, 2021 · 0 comments
Open

Posterized output silently fail when default compression is JPEG #164

hfiguiere opened this issue Jan 6, 2021 · 0 comments

Comments

@hfiguiere
Copy link

Set the output compression for colour to JPEG

Posterize some of the colour / grayscale images

Generate the output.

This posterized images fail to save. No error shown.

The console show the following:
JPEGSetupEncode: PhotometricInterpretation 3 not allowed for JPEG.

Expected

  • show an error in case of failure: there is still a slight hint that it failed as the ? in the thumbnail is here.
  • automatically fallback to lzw for for this PhotometricInterpretation
hfiguiere added a commit to hfiguiere/scantailor-advanced that referenced this issue Jan 6, 2021
hfiguiere added a commit to hfiguiere/scantailor-advanced that referenced this issue Jul 16, 2022
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

1 participant