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

SetImage (from file) works better, than set from bytes with equal encoding #196

Open
MetalRex101 opened this issue Jun 10, 2020 · 0 comments

Comments

@MetalRex101
Copy link

MetalRex101 commented Jun 10, 2020

First of all - library as great. Just have one question:

I'm using jpeg.Encode(f, img, &jpeg.Options{Quality: 100})
When writing it to file and and opening with gosseract client with SetImage, it gives me 100% result. When using buffer of bytes and SetImageFromBytes it gives me maximum 50% success.
Why?

@MetalRex101 MetalRex101 changed the title SeImage (from file) works better, than set from bytes with equal encoding SetImage (from file) works better, than set from bytes with equal encoding Jun 10, 2020
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