图像/ PJPEG和图像/ JPEG [英] image/pjpeg and image/jpeg
本文介绍了图像/ PJPEG和图像/ JPEG的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你知不知道我是否可以发送到浏览器的MIME类型图像/ JPEG
即使我输出图像为图像/ PJPEG
?或者是他们不同的格式?
Do you know if I can send to browser the MIME type image/jpeg
even if the image I am outputting is image/Pjpeg
? Or are they different format?
推荐答案
我相信大多数浏览器也不会介意,除了IE后者采用不同的对待PJPEG文件。
I believe most browsers wouldn't mind, except Internet Explorer which treats pjpeg files differently.
根据这个会话,你应该接受你的客户可上传文件的MIME两者的图像/ PJPEG和图像/ JPEG类型,但服务下载时强制图片/ JPEG。
According to this conversation, you should accept both image/pjpeg and image/jpeg from your clients as upload mime types, but force the image/jpeg when serving downloads.
这篇关于图像/ PJPEG和图像/ JPEG的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文