Community

Output image compression (JBIG2 issue)

We are using pdf files as an input and "pdfSearchable" as an output format. Is it possible to control image compression in the output PDF file? Now we get images recompressed into JBIG2, and they visually look worse than original ones. Another point is that some libraries, we use for further processing (pdflib, pdfbox), doesn't have a support for JBIG2. Does any parameter exist to keep the original image unchanged?

Was this article helpful?

2 out of 2 found this helpful

Comments

6 comments

  • Avatar
    Anastasia Galimova

    Dear Josef, thank you for your question! Now this feature is available in offline SDK only. We will consult with our analyst if it could be added to Cloud OCR SDK and will inform you as soon as we will have additional information.

    0
  • Avatar
    Anastasia Galimova

    Could you please clarify, do I understand correctly that to save original images in a good jpeg quality is suitable for your task (you do not need to save it absolutely unchanged without any recompression)?

    0
  • Avatar
    Josef Standplass

    yes, it's suitable for our purposes

    0
  • Avatar
    Anastasia Galimova

    PDF export parameters will be extended, but not in the nearest months (after the technologies update only). If you have any more suggestions about how to improve PDF export API, please let us know.

    0
  • Avatar
    Getlink

    thank you for telling us that JBIG 2 has added to Cloud OCR SDK. this is what i am looking forward. can you tell me if this jbig2 compression scheme is compatible with OCR SDK?

    0
  • Avatar
    Anastasia Galimova

    We recommend to test it on your side.

    0

Please sign in to leave a comment.