当局引用时,IE中的32位深度jpg图像问题 [英] 32 bit depth jpg images problem in IE when referenced locally

查看:255
本文介绍了当局引用时,IE中的32位深度jpg图像问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个webbapplication,它会拍摄一张将上传并调整大小的图片。
无论深度如何,我们使用的resize-library都保存了32位深度的所有图片。

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.

我们有一个在线客户端可以通过以下方式查看图片一个html文件,一切都很好。所有图片都显示正确。

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

问题:

我们还有一个vb-winform应用程序可以下载图片并在webbrowser控件中本地显示在html文件中。但是这里所有的图片都被拒绝(没有渲染),只有红十字。如果我们在本地创建一个带有img-tags的静态html文件,它就是一样的。所有具有32位深度的图片都显示为红色十字。

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.

如果我们重新保存24位深度的图片,它会再次神奇地起作用。所以当然是我们的解决方法,让resize-library保存所有24位深度的图片。

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.

摘要:

32位jpg文件在联机时在IE中显示正确,但在本地html文件中本地引用时则不正确。 (对于winxp和windows7上的IE8都是如此)。在mozilla中打开的同一个本地html文件显示确定。

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.

问题:
我已经google了很多但是没找到关于这个问题的任何事情。这是IE8中的错误吗?

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

推荐答案

我对自己的网络应用程序有完全相同的问题。

I have exactly the same problem with my own webapplication.

这不仅是IE8的一个问题,而且许多其他浏览器也无法支持jpg文件的32位深度。

This isn't only a problem from IE8 but a lot of other browsers can't support the 32 bit depth on a jpg file.

暂时没有解决方案。尝试以24位深度转换图片。或者等待即将推出的IE9.0。这是你唯一的方式。

For the while, no solution exist. Try to convert your picture in a 24 bit depth. Or wait for IE9.0 that comes soon. It's the only way you have.

这篇关于当局引用时,IE中的32位深度jpg图像问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆