CodePlexProject Hosting for Open Source Software
Closed
It appears as though the decoder has issues with certain gif files. I've attached a few examples. Is there a problem with the GIFs in specific? Is there some way I can throw an exception rather than getting a blank for the image?
Fixed by LuigiRosso
LuigiRosso wrote Sep 18 2010 at 10:06 PM
Posted a fix for the interlacing issue here:http://www.luigirosso.net/post/1145649971/net-image-tools-gif-bug-fixTrying to attach the changed source file here too...
t3rse wrote Feb 26 2010 at 6:58 PM
We were able to discover what was happening. There's a portion of the Gif Decoder code for interlaced GIFs that was not implemented correctly. A colleague of mine and I patched it up - I'll see if I can send you the source so you can diff it and apply the fix.
malignate88 wrote Feb 24 2010 at 7:16 AM
Hi, I tested the gif decoder with a lot of images, but it seems that u found some, that dont work. Thx for this info. As far as I have time (end of next week) I will have a look.About exception: Because of the images are loaded asynchronously it would help to throw an exception. But the ImageControl has an event called Loading Failed, which gives u information about the occured exception.
t3rse wrote Feb 23 2010 at 7:59 PM
this is an additional file that has an issue. The first has a background color of 255 when there are only 32 colors. Could that be a problem? This GIF however doesn't have that problem but still doesn't display in the ImageControl.
Sign in to add a comment
Keyboard shortcuts are available for this page.