Notes on Software

JPEG Images in WPF

Posted by K. M. on September 1, 2008

I recently implemented a very simple help system for a WPF application consisting of showing an image in a help window with the selection of the image based on the application state. The images were all jpegs. The system worked well on Vista – my development machine – but on an XP test machine, loading the first image took inordinately long - around a minute. The subsequent images loaded instantaneously. For the moment, I have solved the issue by converting all images to PNG. It looks like some problem with loading the JPEG decoder. Need to investigate this further.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>