Anyone know how to add the JpegDecoder to a Windows Phone 7 project? By default in the Phone Bin folder there are Bmp, Gif and Png DLLs, but there is no Jpeg DLL? I have a project with an absolute UriSource on the web and won't know if the image is GIF, PNG
or JPEG until after it's loaded. The PNG and GIF files work perfectly, but the JPG files don't display using AnimatedImage.
Here are the decoder statements at the top of the page:
Here is my code for setting the image to the AnimatedImage:
AnimatedImage animatedImage = new AnimatedImage();
animatedImage.Source = new ExtendedImage();
animatedImage.Source.UriSource = new Uri(stringURL, UriKind.Absolute); //stringURL is a web URL to an image. There is no extension in the URL to determine if it is PNG, GIF or JPG ahead of time