Image file formats
Files that hold pictures: grids of pixels, shapes drawn at any size, the raw data from a camera sensor, the layered work files of image editors, high dynamic range and scientific images, icons and the formats of the classic paint programs.
Subcategories
Raster
Images stored as a grid of pixels.
23 formatsVector
Images stored as shapes, lines and text, drawn sharp at any size.
8 formatsCamera raw
The sensor data straight from a digital camera, before processing.
8 formatsLayered project
Image editors’ own files, keeping layers, masks and effects.
7 formatsHDR & scientific
Images with a wide range of brightness, and measurements stored as images.
8 formatsIcon
Small images in several sizes, for programs, files, folders and pointers.
7 formatsRetro
The formats of the paint programs of the 1980s and early 1990s.
10 formatsAll image file formats
| Format | Name | About | Reference | Viewer | Editor | Open |
|---|---|---|---|---|---|---|
| Raster | ||||||
.3DF | 3dfx Glide texture | Texture for 3dfx Voodoo cards: a text header, an optional table and mipmap levels. | partial | partial | Open | |
.AVIF | AV1 Image File Format | Royalty-free AV1-compressed images in HEIF boxes, with alpha, HDR and animation. | partial | Open | ||
.BMP | OS/2 bitmap array (BA) | Several OS/2 bitmaps, icons or pointers for different screens, chained in one file. | partial | partial | Open | |
.BMP | Windows bitmap (BM) | Windows 3.0 and later bitmaps: a 40- to 124-byte header, palette and pixel rows. | partial | partial | Open | |
.BMP | Windows 2 and OS/2 1.x bitmap (BM) | The first bitmaps: a 12-byte header with 16-bit sizes and 3-byte palette entries. | full | full | Open | |
.BMP | OS/2 2.x bitmap (BM) | OS/2 2.x bitmaps: a 16- to 64-byte header, with Huffman 1D and RLE24 compression. | full | full | Open | |
.GIF | Graphics Interchange Format (GIF87a) | The first GIF: palette images on a logical screen, LZW compressed, no extensions. | partial | partial | Open | |
.GIF | Graphics Interchange Format (GIF89a) | Palette images of up to 256 colours, LZW compressed, often animated. | partial | partial | Open | |
.HEIC | High Efficiency Image File Format | HEVC-compressed photos in ISO media boxes, the iPhone's default since 2017. | partial | Open | ||
.ICC | ICC colour profile | Colour profiles that describe a device or colour space for colour management. | partial | partial | Open | |
.ICO | OS/2 colour icon (CI) | A colour OS/2 icon: a 1-bit mask bitmap followed by a colour image. | full | full | Open | |
.ICO | OS/2 icon (IC) | A black and white OS/2 icon: AND and XOR masks in one 1-bit bitmap. | full | full | Open | |
.JPG | JPEG image | Lossy compressed photographs, in marker segments with JFIF or Exif metadata. | partial | partial | Open | |
.JXL | JPEG XL | The JPEG committee's newer format: lossy or lossless, HDR, and lossless JPEG repacking. | partial | Open | ||
.PNG | Portable Network Graphics | Lossless raster images with transparency, stored in CRC-checked chunks. | partial | partial | Open | |
.PPM | Netpbm image (PPM, PGM, PBM) | Uncompressed colour, greyscale or black and white images with a tiny text header. | partial | Open | ||
.PTR | OS/2 colour pointer (CP) | A colour OS/2 mouse pointer: masks, a colour image and a hotspot. | full | full | Open | |
.PTR | OS/2 pointer (PT) | A black and white OS/2 mouse pointer, with its hotspot in the header. | full | full | Open | |
.QOI | Quite OK Image Format | A tiny lossless RGB and RGBA format, much faster to code than PNG. | full | full | Open | |
.TGA | Truevision TGA | Simple raster images with alpha, raw or run-length encoded, common for game textures. | full | partial | Open | |
.TIFF | BigTIFF | TIFF with 64-bit offsets, for images and files larger than 4 GB. | partial | partial | Open | |
.TIFF | Tagged Image File Format (classic) | Flexible tagged images for print, scanning and archives, often multi-page. | partial | partial | Open | |
.WEBP | WebP image | Google’s web image format: lossy, lossless or animated, in RIFF chunks. | partial | Open | ||
| Vector | ||||||
.AI | Adobe Illustrator Artwork | Illustrator's working file: a PDF carrying Illustrator's own editing data. | partial | Open | ||
.CDR | CorelDRAW drawing | CorelDRAW's working file: RIFF chunks in older versions, a ZIP archive since X4. | partial | partial | Open | |
.DRAWIO | draw.io diagram | draw.io diagrams: XML pages of shapes and connectors, sometimes compressed. | partial | Open | ||
.EMF | Enhanced Metafile | A recording of 32-bit Windows drawing calls, used in Office and on the clipboard. | partial | Open | ||
.EPS | Encapsulated PostScript | A single PostScript drawing for placing in other documents, with an optional preview. | partial | Open | ||
.JSON | Lottie animation | Vector animations as JSON, exported from After Effects and played in apps and web pages. | partial | Open | ||
.SVG | Scalable Vector Graphics | The web’s vector format: shapes, text and gradients written as XML. | partial | partial | Open | |
.WMF | Windows Metafile | A recording of 16-bit Windows drawing calls, replayed to draw the picture. | partial | Open | ||
| Camera raw | ||||||
.ARW | Sony Alpha Raw | Sony’s raw photo format, a little-endian TIFF with Sony’s own tags. | partial | Open | ||
.CR2 | Canon Raw version 2 | Canon’s TIFF-based raw photo format, used until 2018. | partial | Open | ||
.CR3 | Canon Raw version 3 | Canon’s raw photo format since 2018, stored in ISO base media boxes. | partial | Open | ||
.DNG | Adobe Digital Negative | Adobe’s open raw photo format, built on TIFF. | partial | Open | ||
.NEF | Nikon Electronic Format | Nikon’s raw photo format, built on TIFF with Nikon’s own tags. | partial | Open | ||
.ORF | Olympus raw image | Olympus and OM System raw photos, a TIFF-like file with its own header. | partial | Open | ||
.RAF | Fujifilm raw image | Fujifilm’s raw photo format, with its own header ahead of a JPEG preview and the data. | partial | Open | ||
.RW2 | Panasonic raw image | Panasonic Lumix raw photos, a TIFF-like file with its own magic number. | partial | Open | ||
| Layered project | ||||||
.AFPHOTO | Affinity Photo document | Affinity Photo’s working file, with layers, adjustments and masks. | partial | Open | ||
.KRA | Krita document | Krita’s working file: a zip of XML, tiled layer data and a flattened PNG. | partial | Open | ||
.ORA | OpenRaster | An open layered image format: PNG layers and an XML stack in a zip. | partial | Open | ||
.PDN | Paint.NET image | Paint.NET’s layered working file, with a PDN3 signature and XML header. | partial | Open | ||
.PROCREATE | Procreate document | The iPad painting app’s working file: a zip with layer tiles and a preview. | partial | Open | ||
.PSD | Adobe Photoshop Document | Photoshop’s working file, with layers, masks and a flattened composite. | partial | Open | ||
.XCF | GIMP image | GIMP’s working file, with layers, channels and paths in tiles. | partial | partial | Open | |
| HDR & scientific | ||||||
.DCM | DICOM medical image | Medical scans with patient and study details, as tagged data elements. | partial | Open | ||
.DDS | DirectDraw Surface | DirectX textures, usually block-compressed, with mipmaps and cube maps. | partial | Open | ||
.EXR | OpenEXR image | Floating point HDR images with many channels, for film and rendering. | partial | Open | ||
.FITS | Flexible Image Transport System | Astronomy’s images and tables, with plain text headers in 2880-byte blocks. | partial | Open | ||
.HDR | Radiance HDR image | High dynamic range images with a shared exponent per pixel, used for lighting. | partial | Open | ||
.KTX | Khronos Texture 1 | OpenGL textures with mipmaps, described by OpenGL type and format constants. | partial | partial | Open | |
.KTX2 | Khronos Texture 2 | Vulkan and glTF textures with a data format descriptor and supercompression. | partial | partial | Open | |
.PFM | Portable Float Map | Uncompressed 32-bit float images after a three-line text header. | partial | partial | Open | |
| Icon | ||||||
.ANI | Windows animated cursor | Animated Windows mouse pointers: cursor frames and timing in RIFF chunks. | partial | Open | ||
.ICL | Windows icon library | Many Windows icons as resources in an NE or PE library. | partial | Open | ||
.ICNS | Apple Icon Image | macOS application icons, one picture in many sizes, mostly as PNG. | partial | partial | Open | |
.ICO | Windows icon | Windows icons and cursors: one picture in several sizes, as bitmaps or PNGs. | full | full | Open | |
.INFO | Amiga Workbench icon | Amiga icons: the picture and Workbench settings for the file of the same name. | partial | Open | ||
.XBM | X BitMap | Black and white X Window System images, written as C source code. | partial | Open | ||
.XPM | X PixMap | Colour X Window System icons written as C strings, one character per pixel. | partial | Open | ||
| Retro | ||||||
.IMG | GEM Image | GEM desktop bitmaps for PC and Atari ST: a word header and run-length planes. | partial | Open | ||
.KOA | Koala Painter picture | Commodore 64 multicolour bitmaps: bitmap, screen and colour memory in 10003 bytes. | partial | Open | ||
.LBM | Amiga contiguous bitmap (IFF ACBM) | AmigaBASIC’s pictures, with each bitplane stored whole. | partial | partial | Open | |
.LBM | Interleaved bitmap (IFF ILBM) | Amiga and Deluxe Paint pictures, stored as interleaved bitplanes. | partial | partial | Open | |
.LBM | Deluxe Paint PC bitmap (IFF PBM) | Deluxe Paint for the PC’s 256-colour pictures, one byte a pixel. | partial | partial | Open | |
.MAC | MacPaint image | The first Mac’s paint documents: 576 by 720 black and white, PackBits rows. | partial | Open | ||
.NEO | NEOchrome picture | Atari ST low resolution screens from NEOchrome, with colour cycling settings. | partial | Open | ||
.PCX | PC Paintbrush image | ZSoft’s MS-DOS paint format: a 128-byte header and run-length encoded lines. | full | full | Open | |
.PI1 | DEGAS picture | Atari ST pictures from DEGAS: a palette and a copy of screen memory. | partial | Open | ||
.XP | REXPaint image | REXPaint’s ASCII-art image: gzip-compressed layers of code page 437 glyphs and colours. | partial | partial | Open | |