Supported Image Formats

Description Animated Portable Network Graphics
Can Load Grayscale: 1-bit, 2-bit, 4-bit, 8-bit, 16-bit. Indexed: 1-bit, 2-bit, 4-bit, 8-bit. RGB: 24-bit, 48-bit. RGBA: 32-bit, 64-bit.

Content: Static, Animated, Meta data, ICC profiles.
Cannot Load -
Can Save Unsupported
Cannot Save -
Dependencies libpng+APNG patch

Description AV1 Still Image File Format
Can Load YUV: 8-bit, 10-bit, 12-bit.

Content: Static, Animated, Meta data, ICC profiles.
Cannot Load -
Can Save Unsupported
Cannot Save -
Dependencies libavif

Description Bitmap Picture
Can Load Indexed: 1-bit, 4-bit, 8-bit (DIB only). RGB: 16-bit, 24-bit, 32-bit.

Compressions: NONE, RLE4, RLE8.

BMP Versions: V1 (DDB), V2, V3, V4, V5.

Content: Static, Meta data, ICC profiles.
Cannot Load Indexed: 8-bit (in DDB images).

Compressions: ALPHABITFIELDS, BITFIELDS, CMYK, CMYK-RLE4, CMYK-RLE8, JPEG, PNG.

BMP Versions: OS/2.
Can Save Unsupported
Cannot Save -
Dependencies -

Description Windows Cursor
Can Load Bit depth: Same to BMP.

Content: Static, Multi-paged.

Special properties: Key: "cur-hotspot-x". Description: X coordinate of the hotspot. Possible values: unsigned int. Key: "cur-hotspot-y". Description: Y coordinate of the hotspot. Possible values: unsigned int.
Cannot Load PNG contained images
Can Save Unsupported
Cannot Save -
Dependencies -

Description Graphics Interchange Format
Can Load Indexed: 8-bit.

Content: Static, Animated, Meta data.
Cannot Load -
Can Save Unsupported
Cannot Save -
Dependencies giflib

Description Windows Icon
Can Load Bit depth: Same to BMP.

Content: Static, Multi-paged.
Cannot Load PNG contained images
Can Save Unsupported
Cannot Save -
Dependencies -

Description Joint Photographic Experts Group
Can Load Grayscale: 8-bit. RGB: 565 16-bit[1], 24-bit. BGR:[1] 24-bit. YCbCr: 24-bit. RGBA:[1] 32-bit. BGRA:[1] 32-bit. ARGB:[1] 32-bit. ABGR:[1] 32-bit. CMYK: 32-bit. YCCK: 32-bit.

Content: Static, Meta data, ICC profiles.
Cannot Load -
Can Save Grayscale: 8-bit. RGB: 565 16-bit[1], 24-bit. BGR:[1] 24-bit. YCbCr: 24-bit. RGBA:[1] 32-bit. BGRA:[1] 32-bit. ARGB:[1] 32-bit. ABGR:[1] 32-bit. CMYK: 32-bit. YCCK: 32-bit.

Content: Static, Meta data, ICC profiles.

Tuning: Key: "jpeg-dct-method". Description: JPEG DCT method. Possible values: "slow", "fast", "float".
Key: "jpeg-optimize-coding". Description: Compute optimal Huffman tables. Possible values: true or false.
Key: "jpeg-smoothing-factor". Description: Smooth the image. Possible values: Unsigned int range from 1U to 100U.
See the libjpeg docs for more.
Cannot Save -
Dependencies libjpeg or libjpeg-turbo

Description JPEG 2000
Can Load Grayscale: 8-bit, 16-bit. RGB: 24-bit, 48-bit. YCbCr: 24-bit. RGBA: 32-bit, 64-bit.

Content: Static.
Cannot Load Pixel formats: YCCK, CMYK, LAB, XYZ, and other.

Content: Meta data, ICC profiles, images with non-zero position, images with bits per channel greater than 16.
Can Save Unsupported
Cannot Save -
Dependencies jasper

Description Picture Exchange
Can Load Indexed: 1-bit, 4-bit, 8-bit. RGB: 24-bit. RGBA: 32-bit.

Content: Static.

Compressions: NONE[2], RLE.
Cannot Load -
Can Save Unsupported
Cannot Save -
Dependencies -

Description Portable Network Graphics
Can Load Grayscale: 1-bit, 2-bit, 4-bit, 8-bit, 16-bit. Indexed: 1-bit, 2-bit, 4-bit, 8-bit. RGB: 24-bit, 48-bit. RGBA: 32-bit, 64-bit.

Content: Static, Meta data, ICC profiles.
Cannot Load -
Can Save Grayscale: 1-bit, 2-bit, 4-bit, 8-bit, 16-bit. Indexed: 1-bit, 2-bit, 4-bit, 8-bit. RGB: 24-bit, 48-bit. RGBA: 32-bit, 64-bit.

Content: Static, Meta data, ICC profiles.

Tuning: Key: "png-filter". Description: PNG filters to apply. Possible values: "none", "sub", "up", "avg", "paeth". It's also possible to combine filters with ';' like that: "none;sub;paeth".
See the libpng docs for more.
Cannot Save -
Dependencies libpng

Description Quite OK Image
Can Load RGB: 24-bit. RGBA: 32-bit.

Content: Static.
Cannot Load Linear color space.
Can Save RGB: 24-bit. RGBA: 32-bit.

Content: Static.
Cannot Save Linear color space.
Dependencies -

Description Scalable Vector Graphics
Can Load Bit depth: 32-bit.

Content: Static.

See more.
Cannot Load Content: Animated, Meta data, ICC profiles.

See more.
Can Save Unsupported
Cannot Save -
Dependencies resvg

Description Truevision TGA
Can Load Grayscale: 8-bit. Indexed: 8-bit. RGB: 24-bit. RGBA: 32-bit.

Content: Static, Meta data.
Cannot Load Content: Thumbnail images.
Can Save Unsupported
Cannot Save -
Dependencies -

Description Tagged Image File Format
Can Load Bit depth: 1-bit, 2-bit, 4-bit, 8-bit, 16-bit, 24-bit, 32-bit, 48-bit, 64-bit.

Compressions:[1] ADOBE-DEFLATE, CCITT-RLE, CCITT-RLEW, CCITT-T4, CCITT-T6, DCS, DEFLATE, IT-8BL, IT8-CTPAD, IT8-LW, IT8-MP, JBIG, JPEG, JPEG-2000, LERC, LZMA, LZW, NEXT, NONE, OJPEG, PACKBITS, PIXAR-FILM, PIXAR-LOG, SGI-LOG24, SGI-LOG, T43, T85, THUNDERSCAN, WEBP, ZSTD.

Content: Static, Multi-paged, Meta data, ICC profiles.
Cannot Load -
Can Save RGBA: 32-bit.

Compressions:[1] ADOBE-DEFLATE, CCITT-RLE, CCITT-RLEW, CCITT-T4, CCITT-T6, DCS, DEFLATE, IT-8BL, IT8-CTPAD, IT8-LW, IT8-MP, JBIG, JPEG, JPEG-2000, LERC, LZMA, LZW, NEXT, NONE, OJPEG, PACKBITS, PIXAR-FILM, PIXAR-LOG, SGI-LOG24, SGI-LOG, T43, T85, THUNDERSCAN, WEBP, ZSTD.

Content: Static, Multi-paged, Meta data, ICC profiles.
Cannot Save -
Dependencies libtiff

Description Quake2 Texture
Can Load Indexed: 8-bit.

Content: Static, Multi-paged.
Cannot Load -
Can Save Unsupported
Cannot Save -
Dependencies -

Description Web Picture
Can Load Bit depth: 24-bit, 32-bit.

Content: Static, Animated, Meta data, ICC profiles.
Cannot Load -
Can Save Unsupported
Cannot Save -
Dependencies libwebp

Description X BitMap
Can Load Bit depth: 1-bit.

Content: Static.

Specifications: X10, X11.
Cannot Load Content: Multi-paged, C-style /*...*/ comments.
Can Save Unsupported
Cannot Save -
Dependencies -

References

  • [1] If supported by the underlying codec like libjpeg.
  • [2] Even though uncompressed PCX files are not considered valid by the spec.