This project is read-only.


Trying to load a png in silverlight causes "Exception of type 'ImageTools.IO.UnsupportedImageFormatException' was thrown."


Thank you for .NET Image Tools.
When I try to use the attached png I get the following error:
Exception of type 'ImageTools.IO.UnsupportedImageFormatException' was thrown.
at ImageTools.Image.DoLoad(Stream stream)
at ImageTools.Image.<Load>b__12(Object x)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
Visual Studio 2010
Silverlight 4
<imageTools:AnimatedImage Source="../Assets/test.png" />
Using May 8 Change Set 48009.
Any ideas?
Thank you.

file attachments

Closed Jul 14, 2010 at 7:56 PM by malignate88
See comments, not a real bug.


icnocop wrote Jul 13, 2010 at 11:51 PM

Just wanted to add that neither the LoadingFailed nor BindingValidationError events were raised.

malignate88 wrote Jul 14, 2010 at 8:55 AM

Thx for the post, will have a look when I have time (at the moment I have to learn for university).

malignate88 wrote Jul 14, 2010 at 7:55 PM

The image works perfect. Please register the decoders:


wrote Jul 14, 2010 at 7:56 PM

wrote Feb 22, 2013 at 12:53 AM

wrote May 16, 2013 at 12:21 PM

Swinburne wrote Apr 1, 2014 at 8:58 AM

I am courious about this png loading issue, once, I also met this problem, I don't know, either do I register the decoders, I just tried again to see I'm lucky or not.