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

Error Codes #7

Open
Seth-Harlaar opened this issue Nov 21, 2022 · 0 comments
Open

Error Codes #7

Seth-Harlaar opened this issue Nov 21, 2022 · 0 comments

Comments

@Seth-Harlaar
Copy link

Hello,
I was wondering if someone could provide me with further explanation of the error codes, the ones at the top of picojpeg.h.
Specifically, me and my classmates have run into error code 19 and 20 while using this library. What does this actually mean, and how does it relate to the code we've written?

We have another issue where sometimes the jpeg_decode_int() function will only call the need_more_bytes_callback() 3 times and retrieve 252 bytes each time and that's it, while there are roughly 20kB waiting to be processed.

If someone could provide me with any guidance that would be great, I can answer further questions but would be hesitant to provide large chunks of code for academic misconduct reasons.
Thanks.

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