Next-gen, HDR, Netpbm and camera RAW image sample files

Complete reference and downloadable test fixtures for 48 raster, HDR, texture, vector, and digital camera RAW image formats. Download verified AVIF, APNG, animated WebP, OpenEXR, Radiance HDR, DDS, TGA, JPEG 2000, and Netpbm samples.

Overview and format architecture

Image processing pipelines face three major categories beyond everyday PNG, JPG, GIF, WebP, SVG, BMP, ICO, and TIFF files:

  1. Next-generation and animated web formats: AVIF (AV1 in HEIF/ISOBMFF), APNG (Animated PNG with acTL/fcTL chunks), animated WebP, JPEG 2000 (.jp2), and JPEG XL (.jxl).
  2. 3D GPU textures, VFX HDR maps, and Unix Netpbm rasters: DirectDraw Surface (.dds), OpenEXR (.exr), Radiance RGBE (.hdr), Portable FloatMap (.pfm), Truevision Targa (.tga), and Netpbm (.pbm, .pgm, .ppm, .pnm, .pam).
  3. Digital camera sensor RAW and proprietary editor files: Canon CR2, Nikon NEF, Sony ARW, Olympus ORF, Fujifilm RAF, Panasonic RW2, Sigma X3F, Adobe DNG/PSD, and GIMP XCF.

In strict compliance with our provenance and honesty rules, we generate and host all 25 open-specification raster, HDR, and animated image formats below using Pillow and FFmpeg. Camera RAW files (which require a physical Bayer/X-Trans sensor dump from a real camera body, often embedding lens serial numbers and EXIF timestamps) and proprietary editor project files are documented with their exact magic signatures and marked unavailable rather than faked.

Format reference and sample downloads

Each format below has a permanent anchor link (for example #apng) so you can link directly to its specification row from your test plan or the A to Z Format Index.

Next-gen, HDR, Netpbm and camera RAW image sample files
Extension & MIMEMagic bytes & descriptionSize / StatusSHA-256 / Provenance noteAction
.apng
image/apng
89 50 4E 47 0D 0A 1A 0A (PNG header + 'acTL' animation control chunk)

Animated Portable Network Graphics storing multi-frame 24-bit/32-bit animations backwards-compatible with static PNG decoders.

1.49 KB1,523 bytes c2293d552f29e2177bc111f4fc0599395b91b9d3dd0d3a54305d4ae61660fc67 Download .apng
.arw
image/x-sony-arw
49 49 2A 00 (TIFF little-endian header with Sony MakerNote tags)

Sony Alpha digital camera uncompressed/compressed sensor RAW image.

Unavailable Unavailable: requires a physical Sony Alpha CMOS sensor capture; we never scrape third-party camera photos or fake TIFF files with .arw extensions. Not hosted
.avif
image/avif
00 00 00 xx 66 74 79 70 61 76 69 66 ('ftypavif')

AV1 Image File Format storing intra-coded AV1 video keyframes inside an ISO-BMFF / HEIF container.

321 bytes321 bytes cd456e9f5e4346fe7f27347c84aafbbc58bc80cc6284866fa773e92303fea4a6 Download .avif
.cr2
image/x-canon-cr2
49 49 2A 00 10 00 00 00 43 52 02 00 (TIFF + 'CR\x02\x00')

Canon EOS Digital Camera RAW Version 2 sensor file.

Unavailable Unavailable: requires a physical Canon CMOS sensor capture; cannot be synthesized without faking Canon CR2 lossless JPEG strips. Not hosted
.cur
image/x-win-bitmap
00 00 02 00 (little-endian reserved=0, type=2 cursor)

Microsoft Windows mouse cursor resource containing X/Y hotspot coordinates and bitmap/PNG pixel data.

600 bytes600 bytes 06251b79379029ef6492556e0a1e948f7244b35ca18a7454ca128bc428e77672 Download .cur
.dcm
application/dicom
80-byte preamble + 44 49 43 4D ('DICM' at byte offset 128)

DICOM (Digital Imaging and Communications in Medicine) medical imaging container.

Unavailable Unavailable: clinical DICOM files require patient/modality SOP Class UIDs; excluded to prevent synthetic medical record confusion. Not hosted
.dds
image/vnd.ms-dds
44 44 53 20 7C 00 00 00 ('DDS ' + 124-byte DDS_HEADER)

Microsoft DirectDraw Surface container used for DirectX/Vulkan GPU textures and mipmaps.

187.62 KB192,128 bytes 16c1618548d5203eec366fa61610cab6b8322543968cc14eab48a48ca54cbb2b Download .dds
.djvu
image/vnd.djvu
41 54 26 54 46 4F 52 4D ('AT&TFORM....DJVU')

AT&T DjVu scanned document image format separating foreground text masks from background wavelet layers.

Unavailable Unavailable: requires DjVuLibre cjb2/c44 encoders not installed in standard minimal environments. Not hosted
.dng
image/x-adobe-dng
49 49 2A 00 (TIFF header with DNGVersion tag 0xC612)

Adobe Digital Negative open archival camera RAW specification.

Unavailable Unavailable: requires real demosaiced CFA sensor array data. Not hosted
.emf
image/emf
01 00 00 00 (EMR_HEADER record type 1 + ' EMF' signature at offset 40)

Microsoft 32-bit Enhanced Metafile GDI vector drawing spool format.

Unavailable Unavailable: Windows GDI spool format requiring native Win32 GDI metafile recording. Not hosted
.eps
application/postscript
25 21 50 53 2D 41 64 6F 62 65 2D 33 2E 30 20 45 50 53 46 ('%!PS-Adobe-3.0 EPSF-3.0')

Encapsulated PostScript graphics file with a mandatory %%BoundingBox comment for print layout placement.

380.14 KB389,266 bytes 796c112d8109e406315870673f551a6493ca17c7f5b8780e08775a013cfaa666 Download .eps
.exr
image/x-exr
76 2F 31 01 (OpenEXR magic number 20000630 little-endian)

Industrial Light & Magic OpenEXR 16-bit/32-bit floating-point high-dynamic-range VFX image format.

194.38 KB199,048 bytes bcd738cd4ffb6e5728b0c1548e5951a190cec8b8652fd2283d72ac436c97b76a Download .exr
.hdr
image/vnd.radiance
23 3F 52 41 44 49 41 4E 43 45 0A ('#?RADIANCE\n')

Greg Ward's Radiance RGBE (8-bit mantissa per channel + shared 8-bit exponent) HDR environment map.

4.05 KB4,143 bytes 2810b0b1b23e4da950edd613dc1a3cfb2f8ad6d7a515b9a416781f1fd454aa6e Download .hdr
.heic
image/heic
00 00 00 xx 66 74 79 70 68 65 69 63 ('ftypheic')

High Efficiency Image Container wrapping HEVC (H.265) intra frames inside an ISO/IEC 23008-12 HEIF file.

Unavailable Unavailable: patent-encumbered HEIC image muxing is omitted in favor of royalty-free AVIF (/assets/gen/seeds/tier2-sample-avif.seed); test browser support on /browser-support/. Not hosted
.heif
image/heif
00 00 00 xx 66 74 79 70 6D 69 66 31 ('ftypmif1')

ISO/IEC 23008-12 High Efficiency Image File generic container.

Unavailable Unavailable: use AVIF (/assets/gen/seeds/tier2-sample-avif.seed), which uses the identical ISO/IEC 23008-12 mif1/avif box architecture. Not hosted
.jfif
image/jpeg
FF D8 FF E0 00 10 4A 46 49 46 00 ('JFIF\0' APP0 marker)

JPEG File Interchange Format explicitly carrying pixel density and aspect ratio in the APP0 segment.

6.28 KB6,426 bytes 99645c394ea381eb3f0b6d9899af72bb0da5d592a60098fff74ed65e8a9ea66e Download .jfif
.jp2
image/jp2
00 00 00 0C 6A 50 20 20 0D 0A 87 0A (JPEG 2000 signature box)

ISO/IEC 15444-1 JPEG 2000 discrete wavelet transform image used in digital cinema (DCI), geospatial imagery, and archival scans.

7.33 KB7,509 bytes b4ec9bcf36a5c5afe5a0fb80571b4f231a3688a2e37dbc4a5b2c6c4d24662f04 Download .jp2
.jpe
image/jpeg
FF D8 FF E0 (JPEG SOI + APP0)

Three-letter legacy DOS/Windows filename extension alias for baseline JPEG images.

6.28 KB6,426 bytes 99645c394ea381eb3f0b6d9899af72bb0da5d592a60098fff74ed65e8a9ea66e Download .jpe
.jpeg
image/jpeg
FF D8 FF E0 (JPEG SOI + APP0)

Four-letter filename extension for Joint Photographic Experts Group images (identical in byte layout to .jpg).

6.28 KB6,426 bytes 99645c394ea381eb3f0b6d9899af72bb0da5d592a60098fff74ed65e8a9ea66e Download .jpeg
.jps
image/x-jps
FF D8 FF E1 ... '_JPSJPS_' stereoscopic APP3 descriptor

Stereoscopic side-by-side 3D JPEG image.

Unavailable Unavailable: requires a dual-lens stereoscopic camera pair and APP3 stereoscopic descriptor block. Not hosted
.jxl
image/jxl
FF 0A (bare codestream) or 00 00 00 0C 4A 58 4C 20 ('JXL ' box)

ISO/IEC 18181 JPEG XL next-generation royalty-free image format.

Unavailable Unavailable: libjxl encoder is not pre-installed in the build toolchain; check browser decoding support on /browser-support/. Not hosted
.mng
video/x-mng
8A 4D 4E 47 0D 0A 1A 0A ('\x8aMNG\r\n\x1a\n')

Multiple-image Network Graphics animated raster format (superseded by APNG).

Unavailable Unavailable: deprecated animation format dropped by browsers and modern encoders in favor of APNG (sample.apng). Not hosted
.nef
image/x-nikon-nef
4D 4D 00 2A or 49 49 2A 00 (TIFF + Nikon MakerNote)

Nikon Electronic Format 12/14-bit DSLR and Z-mount mirrorless camera RAW file.

Unavailable Unavailable: requires a physical Nikon camera sensor capture. Not hosted
.odg
application/vnd.oasis.opendocument.graphics
50 4B 03 04 (ZIP with mimetype 'application/vnd.oasis.opendocument.graphics')

OASIS OpenDocument Drawing vector graphics file.

Unavailable Unavailable: use SVG (/formats/svg/) or OpenDocument Text/Presentation (/formats/odt/, sample.odp) for OpenDocument ZIP container testing. Not hosted
.orf
image/x-olympus-orf
49 49 52 4F 08 00 00 00 ('IIRO' Olympus RAW header)

Olympus / OM System Digital Camera RAW sensor file.

Unavailable Unavailable: requires a physical Olympus Micro Four Thirds camera sensor capture. Not hosted
.pam
image/x-portable-arbitrarymap
50 37 0A ('P7\n' header with WIDTH/HEIGHT/DEPTH/TUPLTYPE)

Netpbm P7 Portable Arbitrary Map supporting arbitrary channel depths and tuple types.

12.06 KB12,349 bytes cbe2e6d886810aebc7fe2c5b950fa0b93509d3ef3855ce706bf6021c6d0a558e Download .pam
.pbm
image/x-portable-bitmap
50 34 0A ('P4\n' binary 1-bit monochrome bitmap)

Netpbm Portable Bitmap storing 1-bit black-and-white pixels (8 pixels per byte).

7.82 KB8,011 bytes 382688c5104ab1d2e13ecd395f73bf9039102e0667f416b96b53e555384737cf Download .pbm
.pcd
image/x-photo-cd
2,048-byte zero preamble + 49 50 49 00 ('PCD_IPI' at offset 2048)

Kodak Photo CD multi-resolution YCC film scan format.

Unavailable Unavailable: proprietary 1992 Kodak film scanner optical disc format. Not hosted
.pcx
image/vnd.zbrush.pcx
0A 05 01 08 (ZSoft ID=0x0A, Version=5, RLE=1, 8-bit planes)

ZSoft PC Paintbrush RLE-compressed raster format (the original DOS/Windows 3.x bitmap standard).

12.75 KB13,058 bytes 2108fe85003c9bbff7f38822d942232870042d9be696db59bc42c842df65640e Download .pcx
.pef
image/x-pentax-pef
4D 4D 00 2A (TIFF big-endian header + Pentax MakerNote)

Pentax Electronic File DSLR camera RAW sensor format.

Unavailable Unavailable: requires a physical Pentax camera sensor capture. Not hosted
.pes
application/x-brother-pes
23 50 45 53 30 30 30 31 ('#PES0001' stitch coordinate header)

Brother CNC machine embroidery stitch file.

Unavailable Unavailable: specialized physical embroidery hoop stitch-coordinate binary. Not hosted
.pfm
image/x-portable-floatmap
50 46 0A ('PF\n' color float32) or 50 66 0A ('Pf\n' grayscale)

Portable FloatMap uncompressed 32-bit IEEE 754 floating-point HDR raster format.

48.01 KB49,166 bytes 814334587bd67af67ea12b2779664a7c624b45d49cd29cbac236fee975c8a757 Download .pfm
.pgm
image/x-portable-graymap
50 35 0A ('P5\n' binary 8-bit grayscale raster)

Netpbm Portable Graymap storing 1 byte per grayscale pixel after an ASCII dimension header.

62.51 KB64,015 bytes afbb9afc21a7d07d369ce52751e9a52ccd47523fb295cacb33f0fd7a6395d7f3 Download .pgm
.picon
image/x-picon
XBM/XPM/GIF 48×48 Usenet face icon

Usenet / Bell Labs 48×48 personal icon format.

Unavailable Unavailable: historical convention using standard XBM/XPM/GIF files rather than a distinct binary format. Not hosted
.pnm
image/x-portable-anymap
50 36 0A ('P6\n' Portable Anymap family wrapper)

Netpbm Portable Anymap generic extension covering PBM, PGM, and PPM rasters.

187.51 KB192,015 bytes 9ff4a85566ef96bfd5d296c6a95846f9bb1c7ab4eea83e560f0204a84d61d81e Download .pnm
.ppm
image/x-portable-pixmap
50 36 0A ('P6\n' binary 24-bit RGB raster)

Netpbm Portable Pixmap storing unpadded 3-byte RGB triplets after a human-readable ASCII header (ideal for writing custom image parsers in under 20 lines of code).

187.51 KB192,015 bytes 9ff4a85566ef96bfd5d296c6a95846f9bb1c7ab4eea83e560f0204a84d61d81e Download .ppm
.psd
image/vnd.adobe.photoshop
38 42 50 53 00 01 ('8BPS' Version 1 header)

Adobe Photoshop native layered document.

Unavailable Unavailable: proprietary Adobe layered format; we do not ship flattened rasters disguised as multi-layer PSD projects. Not hosted
.raf
image/x-fuji-raf
46 55 4A 49 46 49 4C 4D 43 43 44 2D 52 41 57 ('FUJIFILMCCD-RAW ')

Fujifilm X-Trans / Bayer digital camera RAW sensor file.

Unavailable Unavailable: requires a physical Fujifilm camera sensor capture. Not hosted
.ras
image/x-cmu-raster
59 A6 6A 95 (big-endian Sun Rasterfile magic number)

Sun Microsystems SunOS / Solaris native framebuffer raster format with a 32-byte big-endian header.

12.03 KB12,320 bytes 9dbc1a27df960729e49db7154c247e66bffef9ac3c8db8d6a23758728d133ef1 Download .ras
.rw2
image/x-panasonic-rw2
49 49 55 00 18 00 00 00 ('IIU\0' Panasonic RAW header)

Panasonic Lumix digital camera RAW sensor file.

Unavailable Unavailable: requires a physical Panasonic Lumix camera sensor capture. Not hosted
.tga
image/x-tga
18-byte header + 'TRUEVISION-XFILE.\0' footer at EOF-18

Truevision TARGA raster format widely used for game engine textures and alpha-channel compositing.

187.54 KB192,044 bytes bd6993e9212a954d8c0ec14ea7f1a7a9490c20229c8e12d7bba0493e4f376089 Download .tga
.wbmp
image/vnd.wap.wbmp
00 00 (TypeField=0, FixHeaderField=0 + multi-byte uintvar width/height)

WAP Forum Wireless Application Protocol 1-bit monochrome bitmap for early mobile browsers.

36 bytes36 bytes 90e23e1680422147156303a6476d5a09f834fd13ca3ad7d900db0972813ace18 Download .wbmp
.wmf
image/wmf
D7 CD C6 9A (Placeable WMF Aldus header magic)

Microsoft 16-bit Windows Metafile vector drawing format.

Unavailable Unavailable: legacy 16-bit Win16 GDI metafile format. Not hosted
.x3f
image/x-sigma-x3f
46 4F 56 62 ('FOVb' Foveon X3 sensor header)

Sigma Foveon X3 three-layer vertical color sensor RAW file.

Unavailable Unavailable: requires a physical Sigma Foveon camera sensor capture. Not hosted
.xbm
image/x-xbitmap
#define ..._width / static unsigned char ..._bits[] = {

X11 Bitmap format that stores monochrome pixel bits as a valid C header array.

39.65 KB40,605 bytes 903613d09f048ba18537fdb8b8058f80d981b3ad0c58c48884977afd5a964a28 Download .xbm
.xcf
image/x-xcf
67 69 6D 70 20 78 63 66 20 ('gimp xcf v011\0')

GIMP (GNU Image Manipulation Program) native multi-layer canvas file.

Unavailable Unavailable: requires GIMP internal tile/drawable serialization. Not hosted
.xpm
image/x-xpixmap
2F 2A 20 58 50 4D 20 2A 2F ('/* XPM */')

X Window System Pixmap storing color icons as a valid ASCII C string array.

406 bytes406 bytes 966fa64fb8c19f76170cf550e72271b91e7c7bcdd98a742d8f9258cc552ef943 Download .xpm
.xwd
image/x-xwindowdump
00 00 00 68 00 00 00 07 (big-endian header_size + X11 v7 version)

X Window System window dump bitmap produced by xwd.

48.11 KB49,263 bytes 5e8b815aadd18ddbed4e27f0a94fda4fc1430381165b3a5bf75a055fc781ac72 Download .xwd
.webp-animated
image/webp
52 49 46 46 ... 57 45 42 50 56 50 38 58 ('WEBP' + 'VP8X' animation flag)

Multi-frame animated WebP container with ANMF frame chunks.

1.58 KB1,614 bytes 9a863a8dd20d4351bbe5aad23ab429fd871facc1142f4481e82e4e94a7d3aa42 Download .webp-animated

Testing image decoders and upload sanitizers

Related hubs and diagnostics

Frequently asked questions

Why are camera RAW formats (CR2, NEF, ARW, ORF, RAF, RW2, X3F, DNG) marked unavailable?
Real camera RAW files contain unprocessed Bayer or X-Trans mosaic data captured directly from a physical digital camera sensor, along with manufacturer MakerNote blocks and device serial numbers. Rather than scraping someone else's photography or renaming a TIFF file with a .cr2 extension, we list their exact magic signatures and mark them unavailable.
How can a parser distinguish a static PNG from an Animated PNG (APNG)?
Both start with the exact same 8-byte PNG signature (89 50 4E 47 0D 0A 1A 0A) and an IHDR chunk, but an APNG file contains an 'acTL' (Animation Control) chunk before the first 'IDAT' chunk.
Why doesn't TGA have magic bytes at offset 0?
The original 1984 Truevision TGA 1.0 specification began immediately with an 18-byte unlabelled struct (ID length, color map type, image type). TGA 2.0 added an optional 26-byte footer at the very end of the file ending with the ASCII string 'TRUEVISION-XFILE.\0'.