Advertising privacy settings

Advertising privacy settings

Advertising settings are currently unavailable. Please try again later. You can continue using the image tools.

Google Ads Settings · Privacy

HEIF to PGM converter

Source · HEIF
Target · PGM

Drop HEIF files here

or choose files from your device

Advanced options
  • This output writer does not preserve source EXIF, GPS or XMP metadata blocks. Original ICC profiles are not copied.
  • Transparency is replaced with white by default. Change the background in Advanced options.
  • Primary SDR still image only. sRGB/Display P3 and supported 8/10-bit HEVC render to 8-bit sRGB. HDR, auxiliary alpha and other HEIF codecs are rejected. Thumbnails, depth, gain maps and Live Photo motion are not exported.
  • HEIF container: libheif (LGPL); licences, source and relink files

Enable JavaScript to convert files locally.

  • In your browser
  • No upload
  • Private by design

What happens when you convert HEIF to PGM?

Multiple source images

Primary SDR still image only. sRGB/Display P3 and supported 8/10-bit HEVC render to 8-bit sRGB. HDR, auxiliary alpha and other HEIF codecs are rejected. Thumbnails, depth, gain maps and Live Photo motion are not exported.

Animation becomes a still

Output is a still image. Supported GIF, animated PNG and WebP inputs use the explicitly selected composited frame (default frame 1); motion, timing and loops are not preserved. HEIF sequences and animated SVG are rejected.

Grayscale output

PGM output stores 8-bit grayscale samples without colour channels or alpha. Luminance is computed in linear light and encoded with the sRGB transfer curve. Colour information is discarded.

Lossless sample storage

Netpbm stores these samples without compression. Reducing colour, thresholding or changing maxval can still lose information before storage; text and binary representations change the layout, not its image meaning. PGM can store its supported image samples without lossy compression. This applies after rendering and sample conversion: it does not guarantee preservation of source precision, colour space or document structure, and cannot undo earlier losses.

HEIF

Source

HEIF

High Efficiency Image File Format

Compression: Depends on variantTransparency: YesMetadata: Exif, XMP, ICC, NCLX

An image container for individual pictures, collections and sequences. The codec inside determines compression.

Explore HEIF format →
PGM

Target

PGM

Portable Graymap

Compression: UncompressedTransparency: NoMetadata: Header, Comments

Portable Graymap: simple uncompressed raster samples for image-processing pipelines.

Explore PGM format →

Is HEIF → PGM right for you?

Good choice when

  • PGM fits your delivery use: Grayscale images & masks.
  • You can choose the source image or part needed for delivery.
  • You want a still illustration from an animated source.
  • Your processing pipeline explicitly needs grayscale samples.

Probably not when

  • You require a complete collection, page set or multipart round trip.
  • Motion, frame timing or loop behaviour must survive.
  • Colour distinctions carry information you need to retain.
  • You need the original HDR range for relighting or grading.

HEIF to PGM conversion details

Multiple source images
Primary SDR still image only. sRGB/Display P3 and supported 8/10-bit HEVC render to 8-bit sRGB. HDR, auxiliary alpha and other HEIF codecs are rejected. Thumbnails, depth, gain maps and Live Photo motion are not exported.
Animation becomes a still
Output is a still image. Supported GIF, animated PNG and WebP inputs use the explicitly selected composited frame (default frame 1); motion, timing and loops are not preserved. HEIF sequences and animated SVG are rejected.
Grayscale output
PGM output stores 8-bit grayscale samples without colour channels or alpha. Luminance is computed in linear light and encoded with the sRGB transfer curve. Colour information is discarded.
HDR to SDR
Primary SDR still image only. sRGB/Display P3 and supported 8/10-bit HEVC render to 8-bit sRGB. HDR, auxiliary alpha and other HEIF codecs are rejected. Thumbnails, depth, gain maps and Live Photo motion are not exported.
Opaque output
Transparency is replaced with white by default. Change the background in Advanced options.
Lossless sample storage
Netpbm stores these samples without compression. Reducing colour, thresholding or changing maxval can still lose information before storage; text and binary representations change the layout, not its image meaning. PGM can store its supported image samples without lossy compression. This applies after rendering and sample conversion: it does not guarantee preservation of source precision, colour space or document structure, and cannot undo earlier losses.
Sample precision & colour
Primary SDR still image only. sRGB/Display P3 and supported 8/10-bit HEVC render to 8-bit sRGB. HDR, auxiliary alpha and other HEIF codecs are rejected. Thumbnails, depth, gain maps and Live Photo motion are not exported.
Metadata & colour
This output writer does not preserve source EXIF, GPS or XMP metadata blocks. Original ICC profiles are not copied. Primary SDR still image only. sRGB/Display P3 and supported 8/10-bit HEVC render to 8-bit sRGB. HDR, auxiliary alpha and other HEIF codecs are rejected. Thumbnails, depth, gain maps and Live Photo motion are not exported.
Compression
HEIF: Depends on variant → PGM: Uncompressed HEIF: HEIF defines the container. Compression may be lossy, lossless or uncompressed depending on its codec binding; one global quality or bit-depth value would be misleading. PGM: Netpbm stores these samples without compression. Reducing colour, thresholding or changing maxval can still lose information before storage; text and binary representations change the layout, not its image meaning.
Transparency
HEIF: Yes → PGM: No
Animation
HEIF: Yes → PGM: No
Colour depth
HEIF: Codec/profile dependent → PGM: maxval up to 65535
HDR
HEIF: Codec/profile dependent
Multiple images
HEIF: Collections & sequences
Dimensions
Conversion keeps the decoded image dimensions unless you edit or resize it. Orientation is applied by supported decoders. ICO fits the image into one selected square size; PDF page layout and rendering DPI are configurable. Device, memory and codec limits still apply.
Metadata
This output writer does not preserve source EXIF, GPS or XMP metadata blocks. Original ICC profiles are not copied.

Common questions

Will every source image be exported?

Primary SDR still image only. sRGB/Display P3 and supported 8/10-bit HEVC render to 8-bit sRGB. HDR, auxiliary alpha and other HEIF codecs are rejected. Thumbnails, depth, gain maps and Live Photo motion are not exported.

Will the output keep animation?

Output is a still image. Supported GIF, animated PNG and WebP inputs use the explicitly selected composited frame (default frame 1); motion, timing and loops are not preserved. HEIF sequences and animated SVG are rejected.

Will PGM keep the source colours?

PGM output stores 8-bit grayscale samples without colour channels or alpha. Luminance is computed in linear light and encoded with the sRGB transfer curve. Colour information is discarded.

Are bit depth and colour values guaranteed to match?

Primary SDR still image only. sRGB/Display P3 and supported 8/10-bit HEVC render to 8-bit sRGB. HDR, auxiliary alpha and other HEIF codecs are rejected. Thumbnails, depth, gain maps and Live Photo motion are not exported.

Will metadata and colour profiles be retained?

This output writer does not preserve source EXIF, GPS or XMP metadata blocks. Original ICC profiles are not copied. Primary SDR still image only. sRGB/Display P3 and supported 8/10-bit HEVC render to 8-bit sRGB. HDR, auxiliary alpha and other HEIF codecs are rejected. Thumbnails, depth, gain maps and Live Photo motion are not exported.