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

Fatal error reading PNG image file: Missing PLTE before IDAT #1

Closed
bannsec opened this issue Nov 5, 2016 · 5 comments
Closed

Fatal error reading PNG image file: Missing PLTE before IDAT #1

bannsec opened this issue Nov 5, 2016 · 5 comments

Comments

@bannsec
Copy link

bannsec commented Nov 5, 2016

I read in an image, and print out it's frames (as in your example). All output files have that error.

@eight04
Copy link
Owner

eight04 commented Nov 6, 2016

Is the error gave by an image viewer?

@bannsec
Copy link
Author

bannsec commented Nov 6, 2016

Yep. Given by the "eog" command in Ubuntu.

On Sat, Nov 5, 2016 at 8:22 PM, eight [email protected] wrote:

Is the error gave by an image viewer?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#1 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHR34M7Nrbx6StyZ-mSVH6vKv3sW11abks5q7R3XgaJpZM4KqZBG
.

@eight04
Copy link
Owner

eight04 commented Nov 6, 2016

Could you upload the original image?

@eight04
Copy link
Owner

eight04 commented Dec 7, 2017

http://www.libpng.org/pub/png/spec/1.2/PNG-Chunks.html#C.PLTE

Sometimes PLTE is required. I think some headers should be copied into each frame.

@eight04
Copy link
Owner

eight04 commented Dec 7, 2017

Should be fixed in 0.2.0.

@eight04 eight04 closed this as completed Dec 7, 2017
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