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

Image loses BIG symbol #29

Open
VanCoding opened this issue Jul 2, 2012 · 2 comments
Open

Image loses BIG symbol #29

VanCoding opened this issue Jul 2, 2012 · 2 comments

Comments

@VanCoding
Copy link

I use this library in one of my programs. A user of it showed me an image that loses a very big symbol when converting it to jbig2.

Logo

Logo2

I would like to send you the full image, but the user does not want it to be publicly available, so I would have to do it by email.But I don't have any contact data of you.

If you are interested in fixing this bug, just leave a comment here ;)

@agl
Copy link
Owner

agl commented Jul 2, 2012

I'm agl@imperialviolet.org outside of GitHub.

jbig2enc was designed to be part of a mixed mode compressor - i.e. non-text parts are removed from the image and separately encoded. It's reasonably robust to arbitrary images but if the connected component is larger than 9999 pixels in either dimension then it'll be dropped.

That's 33 inches at 300dpi but, if you are exceeding that, then I can add an extra 9 on the end of those numbers.

@VanCoding
Copy link
Author

Ah! Yes that's of course the reason. I think it might be a good idea to add an additional 9 :)
But since I know the problem now, I'll be able to fix it by myself.

Thanks alot! And thanks for the awesome library!

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