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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: