2
Ok, I'm stumped. I can't get php to handle the following skin:
http://www.planetminecraft.com/images/rendant-ficious-king.png
Before I can do anything with it, the following simple built in php function needs to work:
Following warnings are generated:
gd-png: fatal libpng error: Read Error: truncated data
gd-png error: setjmp returns error condition
rendant-ficious-king.png is not a valid PNG file
What I know:
* Source image loads fine in image viewers, browser & photoshop
* Source image is 32bit. (Only difference I see when comparing to skin files that work.)
My google-fu is failing me. Is it just a corrupt png that somehow still works?
http://www.planetminecraft.com/images/rendant-ficious-king.png
Before I can do anything with it, the following simple built in php function needs to work:
$file = '/path/to/rendant-ficious-king.png';
$image = imagecreatefrompng($file);
Following warnings are generated:
gd-png: fatal libpng error: Read Error: truncated data
gd-png error: setjmp returns error condition
rendant-ficious-king.png is not a valid PNG file
What I know:
* Source image loads fine in image viewers, browser & photoshop
* Source image is 32bit. (Only difference I see when comparing to skin files that work.)
My google-fu is failing me. Is it just a corrupt png that somehow still works?
Create an account or sign in to comment.
6
1
Yea I have no problem re-saving his skins for him if the user wants that? I got nothing else to do
1
Hmm try this? My skins work and I saved it as the same .PNG as mine
[attachment=0]<attachment unavailable>[/attachment]
[attachment=0]<attachment unavailable>[/attachment]
1
Hmm, you opened and resaved as png? It's not my skin, there is a member who consistently uploads skins that won't render the 4 angles. It's because my script can't read his pngs. My script had no problem rendering Emorak's version though. Hmmm.
1
Wow great idea to post your skin in a post.. anyone can steal it XD
1
Im so sorry i cant help
1
Must be google-FFFUUUUUU
I have no idea what any of those words mean.
I have no idea what any of those words mean.