32 bit depth jpg images problem in IE when referenced locally

Posted by Stefan on Stack Overflow See other posts from Stack Overflow or by Stefan
Published on 2010-03-31T14:52:46Z Indexed on 2010/03/31 17:03 UTC
Read the original article Hit count: 432

Filed under:
|
|

We have an webbapplication that takes an image that will be uploaded and resized. The resize-library we used saved all pictures with 32-bit depth whatever the depth was before.

We have an online client that can view the pictures via an html-file and all is fine there. All pictures are shown correctly.

The problem:
We also have an vb-winform application that download the pictures and show them in an html-file locally in an webbrowser control. But here all pictures are rejected (not rendered), just the red cross. If we create an static html-file with img-tags in them locally, its the same. All pictures that has 32-bits depth are shown as red crosses.

If we resave the pictures with 24-bits depth it magically works again. So ofcourse that was our "workaround", let the resize-library save all pictures with 24-bits depth instead.

Summary:
32-bits jpg files shows correct in IE when online but not when referenced locally in a local html-file. (This is true for IE8 on both winxp and windows7). The same local html-file opened in mozilla showed OK.

Question: I have googled this a lot but has not found anything about this "problem". Is this a bug in IE8?

© Stack Overflow or respective owner

Related posts about jpg

Related posts about ie8