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

Compression parameters #7

Open
plzombie opened this issue Oct 15, 2023 · 1 comment
Open

Compression parameters #7

plzombie opened this issue Oct 15, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@plzombie
Copy link
Contributor

Shouldn't we have some dialog somewhere with compression parameters?
#4

For example, for coloured images we have LZMA which can be better than LZW
изображение
And for BW we can use JBIG or lossless JBIG2.

I mean not change default logic, just hide compression parameters somewhere.

@plzombie plzombie added the enhancement New feature or request label Oct 15, 2023
@noobie-iv
Copy link
Member

There is a more difficult question. For example, there is a page with text, a color graph and a photo. We need to:

  • Increase the text resolution and save text to tiff with fax4 compression
  • Maybe increase the graph resolution and save graph to tiff with LZW/Deflate/... compression, or to png
  • Leave image resolution unchanged and save image to jpeg.

Sometimes we only need to save individual part of an image. For example, when exporting to pdf, background text is saved to a file as a whole hi-res full-size page, but foreground photo as a lo-res colored part of the page.

This may require reworking the entire logic of the program.

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

No branches or pull requests

2 participants