6.5 圖像文件后綴一覽表
文件格式是存儲文本、圖形或者圖像數據的一種數據結構。在文字處理中,存儲文本文件要使用文件格式。例如,使用微軟公司的Word處理器編寫的文件,可根據不同的應用環境用不同的格式存儲。如果使用多信息文本格式(Rich Text Format,RTF)存儲,這個文件就可在其他的平臺(如Mac機)或者使用其他的字處理器進行處理。同樣,存儲圖像也需要有存儲格式,從20世紀70年代圖像開始進入計算機以來,開發了許許多多的圖像文件存儲格式,而且互相不兼容,需要使用針對特定格式的處理軟件。現在都意識到,不兼容的格式給用戶造成很多的不便,因此有些格式也逐漸被淘汰。
在計算機中,有兩種類型的圖:矢量圖(vector graphics)和位映象圖(bitmapped graphics)。矢量圖是用數學方法描述的一系列點、線、弧和其他幾何形狀,如圖6-17(a)所示。因此存放這種圖使用的格式稱為矢量圖格式,存儲的數據主要是繪制圖形的數學描述;位映象圖(bitmapped graphics)也稱光柵圖(raster graphics),這種圖就像電視圖像一樣,由象點組成的,如圖6-17(b),因此存放這種圖使用的格式稱為位映象圖格式,經常簡稱為位圖格式,存儲的數據是描述像素的數值。

圖6-17 矢量圖與位映象圖
除了本章介紹的4種常用格式之外,在我們的工作中還會遇到其他圖像格式。為方便查閱,現將部分圖形與圖像文件的后綴和名稱列在表6-11@和表6-12@中。如果編寫程序需要很專業的圖像格式資源,包括一些源程序(source code),可以訪問站點:http://www.wotsit.org/,你可飽覽多媒體世界中的各種媒體的存儲格式。
表6-11@ 位映象圖格式/光柵圖光柵(bitmapped formats / raster graphics)
后綴 |
文件名稱 |
后綴 |
文件名稱 |
AG4 |
Access G4 document imaging |
JFF |
JPEG (JFIF) |
ATT |
AT&T Group IV |
JPG |
JPEG |
BMP |
Windows & OS/2 |
KFX |
Kofax Group IV |
CAL |
CALS Group IV |
MAC |
MacPaint |
CIT |
Intergraph scanned images |
MIL |
Same as GP4 extension |
CLP |
Windows Clipboard |
MSP |
Microsoft Paint |
CMP |
Photomatrix G3/G4 scanner format |
NIF |
Navy Image File |
CMP |
LEAD Technologies |
PBM |
Portable bitmap |
CPR |
Knowledge Access |
PCD |
PhotoCD |
CT |
Scitex Continuous Tone |
PCX |
PC Paintbrush |
CUT |
Dr. Halo |
PIX |
Inset Systems (HiJaak) |
DBX |
DATABEAM |
PNG |
Portable Network Graphics |
DX |
Autotrol document imaging |
PSD |
Photoshop native format |
ED6 |
EDMICS (U.S. DOD) |
RAS |
Sun |
EPS |
Encapsulated PostScript |
RGB |
SGI |
FAX |
Fax |
RIA |
Alpharel Group IV document imaging |
FMV |
FrameMaker |
RLC |
Image Systems |
GED |
Arts & Letters |
RLE |
Various RLE-compressed formats |
GDF |
IBM GDDM format |
RNL |
GTX Runlength |
GIF |
CompuServe |
SBP |
IBM StoryBoard |
GP4 |
CALS Group IV - ITU Group IV |
SGI |
Silicon Graphics RGB |
GX1 |
Show Partner |
SUN |
Sun |
GX2 |
Show Partner |
TGA |
Targa |
ICA |
IBM IOCA (see MO:DCA) |
TIF |
TIFF |
ICO |
Windows icon |
WPG |
WordPerfect image |
IFF |
Amiga ILBM |
XBM |
X Window bitmap |
IGF |
Inset Systems (HiJaak) |
XPM |
X Window pixelmap |
IMG |
GEM Paint |
XWD |
X Window dump |
表6-12@ 矢量圖格式(vector graphics formats)
后綴 |
文件名稱 |
后綴 |
文件名稱 |
3DS |
3D Studio |
GEM |
GEM proprietary |
906 |
Calcomp plotter |
G4 |
GTX RasterCAD - scanned images into vectors for AutoCAD |
AI |
Adobe Illustrator |
IGF |
Inset Systems (HiJaak) |
CAL |
CALS subset of CGM |
IGS |
IGES |
CDR |
CorelDRAW |
MCS |
MathCAD |
CGM |
Computer Graphics Metafile |
MET |
OS/2 metafile |
CH3 |
Harvard Graphics chart |
MRK |
Informative Graphics markup file |
CLP |
Windows clipboard |
P10 |
Tektronix plotter (PLOT10) |
CMX |
Corel Metafile Exchange |
PCL |
HP LaserJet |
DG |
Autotrol |
PCT |
Macintosh PICT drawings |
DGN |
Intergraph drawing format |
PDW |
HiJaak |
DRW |
Micrografx Designer 2.x, 3.x |
PGL |
HP plotter |
DS4 |
Micrografx Designer 4.x |
PIC |
Variety of picture formats |
DSF |
Micrografx Designer 6.x |
PIX |
Inset Systems (HiJaak) |
DXF |
AutoCAD |
PLT |
HPGL Plot File (HPGL2 has raster format) |
DWG |
AutoCAD |
PS |
PostScript Level 2 |
EMF |
Enhanced metafile |
RLC |
Image Systems "CAD Overlay ESP" vector files overlaid onto raster images |
EPS |
Encapsulated PostScript |
SSK |
SmartSketch |
ESI |
Esri plot file (GIS mapping) |
WMF |
Windows Metafile |
FMV |
FrameMaker |
WPG |
WordPerfect graphics |
GCA |
IBM GOCA |
WRL |
VRML |
|
|
后綴 |
文件名稱 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
posted on 2005-06-22 16:55
小米 閱讀(3138)
評論(1) 編輯 收藏 所屬分類:
其它