原始图像应使用哪种MIME类型? [英] Which MIME type should be used for a raw image?

查看:146
本文介绍了原始图像应使用哪种MIME类型?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

原始图像由照相机,扫描仪等产生,通常可以为您提供更多的后置比JPEG图像更具处理灵活性.

Raw images are produced by cameras, scanners, etc. and typically give you more post-processing flexibility than JPEG images.

如果我要通过网络服务器提供此类文件,应该使用哪种媒体类型(又称为MIME类型)?我对最近佳能相机生产的CR2文件特别感兴趣,但答案还可以解决Adobe的Digital Negative(DNG)格式或其他制造商的相机提供的原始文件的问题. (在IANA的此列表中我没有看到任何相关内容.)

If I’m serving this kind of file from my web server, which media type (a.k.a. MIME type) should I use? I’m specifically interested in the CR2 files produced by recent Canon cameras, but answers could also address Adobe’s Digital Negative (DNG) format or raw files from other manufacturers’ cameras. (I didn’t see anything relevant in this list from the IANA.)

推荐答案

根据此XML文件(已终止)GNOME RAW Thumbnailer项目,原始图像的MIME类型通常为image/x-dcraw.按其文件扩展名列出,以下是该文件中提到的其他文件类型:

According to this XML file from the (defunct?) GNOME RAW Thumbnailer project, the MIME type for raw images in general is image/x-dcraw. Listed by their file extensions, here are the other file types mentioned in that file:

  • ARW:image/x-sony-arw
  • CR2:image/x-canon-cr2
  • CRW:image/x-canon-crw
  • DCR:image/x-kodak-dcr
  • DNG:image/x-adobe-dng
  • ERF:image/x-epson-erf
  • K25:image/x-kodak-k25
  • KDC:image/x-kodak-kdc
  • MRW:image/x-minolta-mrw
  • NEF:image/x-nikon-nef
  • ORF:image/x-olympus-orf
  • PEF:image/x-pentax-pef
  • RAF:image/x-fuji-raf
  • RAW:image/x-panasonic-raw
  • SR2:image/x-sony-sr2
  • SRF:image/x-sony-srf
  • X3F:image/x-sigma-x3f
  • ARW: image/x-sony-arw
  • CR2: image/x-canon-cr2
  • CRW: image/x-canon-crw
  • DCR: image/x-kodak-dcr
  • DNG: image/x-adobe-dng
  • ERF: image/x-epson-erf
  • K25: image/x-kodak-k25
  • KDC: image/x-kodak-kdc
  • MRW: image/x-minolta-mrw
  • NEF: image/x-nikon-nef
  • ORF: image/x-olympus-orf
  • PEF: image/x-pentax-pef
  • RAF: image/x-fuji-raf
  • RAW: image/x-panasonic-raw
  • SR2: image/x-sony-sr2
  • SRF: image/x-sony-srf
  • X3F: image/x-sigma-x3f

这篇关于原始图像应使用哪种MIME类型?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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