画像型

image/* (MIME型)

[11] image/* は、画像を表す MIME型です。

仕様書

一覧

[9]

image/x-3ds
image/x-vnd.adobe.air.bitmapAir
image/vnd.adobe.svg+xml
image/amidraw
image/any
image/apng
image/vnd.mozilla.apng
image/x-applix-graphicApplixWare graphic
image/x-arib-png
image/ascii-art
image/avs
image/bci
image/bie
image/bmp
image/x-bmp
image/prs.btif
image/c4
image/cals
image/x-calsCALS 1型・2型
image/x-canvas-instructions+text
image/cewavelet非標準
image/cgmComputer Graphics Metafile[IANAREG]
image/x-cgm
image/x-cif
image/cis-cid非標準
image/cis-cod
image/cit非標準
image/cmu-raster非標準
image/x-cmu-raster
image/x-cmxCMX vector 画像
image/cmyk
image/vnd.cns.inf2
image/x-compressed-xcfGIMP 圧縮画像
image/x-coreldraw
image/cpi
image/x-cpi
image/x-cpr
image/curWindows cursor
image/x-curWindows cursor
image/dcx
image/dejavu
image/x-dejavu
image/x-denso-bmp
image/dgn
image/djvu
image/vnd.djvu
image/x-djvu
image/x.djvu
image/x-mgx-dsfMicrografx QuickSilver active image
image/vnd.dwg
image/x-dwg
image/vnd.dxf
image/x-dxf
image/emf
image/x-emf
image/x-emz
image/eps
image/x-eps
image/x-eri
image/example
image/vnd.fastbidsheet[IANAREG]
image/fax非標準
image/fax-g3->image/g3fax非標準
image/fifFractal Image Format非標準
image/fitsIETF 情報提供 RFC, IANAREG 登録済RFC 4047, [IANAREG]
image/flv
image/x-flv
image/vnd.fpx
image/x-freehand
image/x-freehand5
image/x-freehand7
image/vnd.fst
image/vnd.fujixerox.edmics-mmr[IANAREG]
image/vnd.fujixerox.edmics-rlc[IANAREG]
image/g3fax[RFC1494] [IANAREG]
image/gif[MIME] [IANAREG]
image/vnd.sealedmedia.softseal.gif[IANAREG]
image/vnd.globalgraphics.pgb[IANAREG]
image/gradation非標準
image/gray非標準
image/hdf非標準
image/hpgl非標準
image/x-hpgl
image/ico->image/vnd.microsoft.icon非標準
image/x-ico->image/vnd.microsoft.icon非推奨
image/icon->image/vnd.microsoft.icon非標準
image/x-iconico形式 ->image/vnd.microsoft.icon非推奨
image/iefImage Exchange Format[RFC1314] [IANAREG]
image/if非標準
image/x-iff
image/x-ilbm
image/imagn非標準
image/iw44非標準
image/x-iw44
image/j2kJPEG2000
image/jb2非標準
image/x-jb2
image/jbig非標準
image/x-jg[M$]
image/jp2JPEG 2000IETF 提案標準, IANAREG 登録済RFC 3745, [IANAREG]
image/jpegJPEG[MIME] [IANAREG]
image/x-jpeg->image/jpeg非推奨
image/jpeg2000JPEG2000非標準, IANA 登録QuickTime
image/jpeg2000-imageJPEG2000非標準, IANA 登録QuickTime
image/x-jpeg2000-imageJPEG2000非標準, IANA 登録QuickTime
image/x-jpeg-proprietary
image/jpg->image/jpeg非標準
image/x-jpg->image/jpeg非推奨
image/vnd.sealedmedia.softseal.jpg[IANAREG]
image/jpmIETF 提案標準, IANAREG 登録済RFC 3745, [IANAREG]
image/jpxIETF 提案標準, IANAREG 登録済RFC 3745, [IANAREG]
image/jng
image/x-jng
image/jxl
image/jxr
image/x-lotusamideaw
image/x-lwoLightWave object
image/x-lwsLightWave scene
image/mac非標準
image/x-macpaint(*.mac;*.pntg)[QT]
image/x-macpictPICT
image/map非標準
image/vnd.microsoft.iconico形式[IANAREG]
image/miff非標準
image/mil非標準
image/vnd.mix[IANAREG]
image/mng->video/mng非標準
image/x-mng->video/x-mng非推奨
image/mono非標準
image/x-mrsid-image
image/x-ms-bmp
image/x-ms-bmpi
image/vnd.ms-modi[IANAREG]
image/vnd.ms-photo
image/mpegMPEG I-frame非標準
image/mtv非標準
image/naplpsNAPLPS[IANAREG]
image/vnd.net-fpx[IANAREG]
image/x-pc-paintbrush
image/pbm非標準
image/pcd非標準
image/x-pcl-hp
image/pcx非標準
image/x-pcx
image/pdf->application/pdf非標準
image/vnd.phonecom.cache非標準
image/x-photo-cdKodak Photo CD
image/photoshopAdobe Photoshopimage/vnd.adobe.photoshop
image/vnd.adobe.photoshopAdobe PhotoshopIANAREG 登録済[IANAREG]
image/x-photoshopAdobe Photoshopimage/vnd.adobe.photoshopQuickTime
image/pic非標準
image/pictPICT image非標準, [QT]
image/x-pict
image/pjpegプログレッシブJPEG ->image/jpeg非標準, [MS]
image/pm非標準
image/pngPNG[IANAREG]
image/x-png->image/png非推奨, [M$]
image/vnd.sealed.png[IANAREG]
image/x-portable-anymap
image/x-portable-bitmap
image/x-portable-graymap
image/x-portable-pixmap
image/postscript非標準
image/psdAdobe Photoshop非標準, IANA 登録 → image/vnd.adobe.photoshop
image/x-psdAdobe Photoshopimage/vnd.adobe.photoshop
image/prs.pti[IANAREG]
image/x-quicktimeQuickTime image (*.qti;*.qdf)[QT]
image/rad非標準
image/sun-raster非標準
image/x-canon-raw
image/rgbRGB非標準
image/x-rgb
image/rgba非標準
image/rla非標準
image/rle非標準
image/vnd.rn-realflash(*.rf)非標準, [Real]
image/vnd.rn-realpix(*.rp)非標準, [Real]
image/sgi非標準
image/x-sgi
image/dvb.subtitle非標準[MHP 1.1]
image/vnd.svf[IANAREG]
image/vnd-svf->image/vnd.svf非標準
image/x-svf->image/vnd.svf非推奨
image/svg->image/svg+xml非標準
image/svg+xmlSVG非標準
image/svg-xml->image/svg+xml非標準
image/svh非標準
image/vnd.swiftview-cals非標準
image/vnd.swiftview-pcx非標準
image/t38IETF 提案標準, IANAREG 登録済RFC 3362, [IANAREG]
image/targa非標準
image/x-targa
image/tdf非標準
image/tga非標準
image/x-tga非標準
image/tif->image/tiff非標準
image/x-tif->image/tiff非推奨
image/tiffTIFFIETF 標準化過程, IANAREG 登録済RFC 2302, RFC 3302, [IANAREG]
image/x-tiff->image/tiff非推奨
image/tiff-fxTIFF FAX拡張IETF 標準化過程, IANAREG 登録済RFC 3250, RFC 3950, [IANAREG]
image/x-up-bmp
image/x-up-wpng[WAP]
image/vnd.up.wpng非標準
image/unknown非標準
image/uyyu非標準
image/vasa非標準
image/vec非標準
image/vid非標準
image/viff非標準
image/vn-svf非標準
image/i-vrmlVRML非標準 → model/vrml
image/vnd.wap.wbmp[IANAREG]
image/wavelet非標準
image/x-wavelet
image/webp
image/x-webp
image/x-win-bitmap
image/x-windows-bitmapWindows Bitmap
image/x-windows-icon->image/x-icon非推奨
image/x-windows-metaWindows Meta file
image/wmf非標準
image/x-wmfWMF[M$]
image/x-wordperfect-graphics
image/x11非標準
image/xbitmap->image/x-xbm or image/x-xbitmap非標準
image/x-xbitmapX Window Bitmap
image/xbm->image/x-xbm or image/x-xbitmap非標準
image/x-xbmX Window Bitmap
image/x-xcf
image/x-xfig
image/xiff->image/vnd.xiff非標準
image/vnd.xiff[IANAREG]
image/xiff2非標準
image/x-xpixmapxpm
image/xpm->image/x-xpixmap非標準
image/x-xpm->image/x-xpixmap非推奨
image/x-xwindowdump
image/yuv非標準

意味

[18] image/* は、内容が1つ以上>>17 画像 >>17, >>23 を表していることを示します。

[22] 画像は、情報を見るために表示装置 (図形的画面、図形的印刷機FAX機など) が必要です >>21

[15] image/*画像の多くは静止画ですが、 アニメーションGIF (image/gif) や APNG (image/png)、MNG (image/mng) のようにアニメーションを表すものも含まれています。

[19] 部分型名が画像形式を表しています >>23, >>17

[16] 画像の多くはバイナリーファイルですが、そのような制約はありません。 SVG (image/svg+xml)、 XBM (image/x-xbm) のようにテキストファイルも含まれています。

[31] 画像型 (image type) とは、 構文解析可能MIME型であって、image のものをいいます >>30

素片識別子

[14] 素片識別子としては媒体素片を使うことが推奨 (recommend) されています >>12

処理

[24] 未知の image/* MIME型は、最低でも application/octet-stream として扱うべきです >>23

[25] 安全で頑健な一般目的画像表示アプリケーションがあれば、未知の image/* MIME型のデータをそれに渡しても構いません >>23

[27] 多くの MUA は、未知の場合添付ファイルとして扱います。
[26] Web における処理は、 navigateimg を参照。

歴史

[13] RFC 2046 4.2. Image Media Type

A media type of "image" indicates that the body contains an image. The subtype names the specific image format. These names are not case sensitive. An initial subtype is "jpeg" for the JPEG format using JFIF encoding [JPEG].

媒体型 "image" は本文が画像から成ることを示します。 亜型名は画像形式を指定します。この名前は大文字・小文字を区別しません。 初期亜型は JFIF 符号化を使う JPEG 形式用の "jpeg" です。

The list of "image" subtypes given here is neither exclusive nor exhaustive, and is expected to grow as more types are registered with IANA, as described in RFC 2048.

ここに示す "image" 亜型の表は排他的でも網羅的でも無く、 より多くの型が RFC 2048 で説明するとおり IANA で登録されることが期待されます。

Unrecognized subtypes of "image" should at a miniumum be treated as "application/octet-stream". Implementations may optionally elect to pass subtypes of "image" that they do not specifically recognize to a secure and robust general-purpose image viewing application, if such an application is available.

"image" の認識出来ない亜型は最低でも "application/octet-stream" として 扱うべきです。実装者は、具体的に認識出来ない "image" の亜型を 安全で頑強な一般目的画像表示応用があればそいつに渡すことを 任意に選んでも構いません。

NOTE: Using of a generic-purpose image viewing application this way inherits the security problems of the most dangerous type supported by the application.

参考: 一般目的画像表示応用をこの方法で使うと、応用が持つ 最も危険な種の安全問題を継承することになります。

[10] RFC 6466 - IANA Registration of the \x27image\x27 Media Type for the Session Description Protocol (SDP) ( ( 版)) http://tools.ietf.org/html/rfc6466

メモ

[6] 2002-12-29 18:34 名無しさん: IANAREG の最新の登録内容にあわせる & どんなのが使われてるのか軽く検索してみたんですが、後者が山程出てきました。ほんとにこんなの使ってるのか問詰めてみたいのもありますが。。。

[8] 画像処理ソフトウェアで亜型 == 拡張子 == 形式名として扱う変な奴が少なからずあるみたいで。

[20] RFC 6466 - IANA Registration of the 'image' Media Type for the Session Description Protocol (SDP) ( 版) https://tools.ietf.org/html/rfc6466

[29] Block `image/*` resources loaded as script · whatwg/fetch@b561a73 ( 版) https://github.com/whatwg/fetch/commit/b561a73f23b7139d5f4bb0de322dc37e74af0091

[32] Use MIME type starting with image/ as image MIME type definition (annevk著, ) https://github.com/whatwg/fetch/commit/b9ad2f5c16d5c565ce25b336d1e6f5dce0f7a066

[33] Only use nosniff for "script" and "style" (annevk著, ) https://github.com/whatwg/fetch/commit/169de91ca9fa3ab91a860bc492caf5fa94c29592

[34] Define a new MIME type model, parser, and serializer (annevk著, ) https://github.com/whatwg/mimesniff/commit/cc81ec48288944562c4554069da1d74a71e199fb

[35] Editorial: tweak MIME type group definitions (domenic著, ) https://github.com/whatwg/mimesniff/commit/452938939d1d88e3c74f59f41f14579249130437

[36] Editorial: tweak MIME type group definitions by domenic · Pull Request #59 · whatwg/mimesniff () https://github.com/whatwg/mimesniff/pull/59