-
Notifications
You must be signed in to change notification settings - Fork 50
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 height exceeds user limit in IHDR #59
Comments
I tried the same thing again without -r 270 (assuming I would get an error like image width exceeds user limit) but got a little bit different message: I suspect PNG's aren't made to be that large, are they? |
Solution: add: png_set_user_limits(png_ptr, 0x7fffffffL, 0x7fffffffL); Thanks to .blyzzz from minecraft.de |
Was this issue closed without any patch to c10t? I cannot find a commit adding a line with png_set_user_limits. I'll reopen this and check. png_init_io is now located at Line 69 in 3874582
Edit: I know this is an old issue however "-r" is the number of degrees the rendering is rotated, you should use "-R" to limit how much of the world is rendered but maybe this issue was before "-R" was supported and limited to 1000 chunks? |
Hiho,
OS: Still Debian Lenny
2.6.26-2-openvz-amd64 #1 SMP Thu Sep 16 16:09:07 UTC 2010 x86_64 GNU/Linux
c10t version:
SNAPSHOT (10:57, 9. Sept 2010)
Our map got bigger, perhaps too big?
After the whole render process, c10t tries to save the map as a png and throws the following error:
done!
Saving image...
libpng warning: Image height exceeds user limit in IHDR
libpng warning: Invalid image height in IHDR
libpng error: Invalid IHDR data
/home/minecraft/bin/c10t: Success
I have no clue about libpng but might that "user limit" be hardcoded in c10t?
Greetings
Ataman
The text was updated successfully, but these errors were encountered: