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

Convert PGM to EXR

Source · PGM
Target · EXR

Drop PGM files here

or choose files from your device

  • This output writer does not preserve source EXIF, GPS or XMP metadata blocks. Original ICC profiles are not copied.
  • EXR V1 accepts single-part scanline RGB/RGBA HALF/FLOAT with linear Rec.709/D65 colour and premultiplied alpha, up to 4 MP. Tiled, deep, multipart, layers and other colour spaces are unsupported. EXR output is HALF RGBA ZIP; EXR editing is unavailable.
  • SDR pixels are converted from sRGB to linear EXR; this does not recover HDR detail.

Enable JavaScript to convert files locally.

  • In your browser
  • No upload
  • Private by design

What happens when you convert PGM to EXR?

Multiple source images

The first supported Netpbm image is decoded; concatenated images are not exported as a sequence.

No new colour information

The source stores grayscale or bitonal values. A colour-capable EXR can represent these tones, but conversion cannot infer original scene colours or recover missing intermediate shades. Colourisation would be a separate image-editing operation.

An HDR container adds no captured range

SDR pixels are converted from sRGB to linear EXR; this does not recover HDR detail. EXR V1 accepts single-part scanline RGB/RGBA HALF/FLOAT with linear Rec.709/D65 colour and premultiplied alpha, up to 4 MP. Tiled, deep, multipart, layers and other colour spaces are unsupported. EXR output is HALF RGBA ZIP; EXR editing is unavailable.

Encoding mode

EXR supports lossy and lossless codecs. Choose one for the sample types and required precision; .exr alone does not guarantee exact channel preservation. The format name alone does not guarantee lossless output or a smaller file. WebP, AVIF and JPEG XL offer quality and lossless options; HEIC/HEIF use lossy native HEVC. TIFF and JP2 use their implemented lossless variants. PDF offers JPEG or lossless image embedding.

PGM

Source

PGM

Portable Graymap

Compression: UncompressedTransparency: NoMetadata: Header, Comments

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

Explore PGM format →
EXR

Target

EXR

OpenEXR

Compression: Lossy & losslessTransparency: YesMetadata: Typed header attributes, Chromaticities

HDR raster data for rendering and compositing, with named channels and lossless or lossy codecs.

Explore EXR format →

Is PGM → EXR right for you?

Good choice when

  • EXR fits your delivery use: Render passes & HDR compositing.
  • You can choose the source image or part needed for delivery.
  • You need the existing gray or binary image in a compatible delivery format.
  • You need an image in an HDR-capable working pipeline.
  • You need a EXR-compatible workflow that can hold transparency added in a separate edit.

Probably not when

  • You require a complete collection, page set or multipart round trip.
  • You expect automatic colourisation or reconstruction of absent tones.
  • You expect new highlight or shadow detail from a container change.
  • You need a guaranteed quality or file size regardless of source and encoder settings.
  • You expect automatic background removal or transparency.

PGM to EXR conversion details

Multiple source images
The first supported Netpbm image is decoded; concatenated images are not exported as a sequence.
No new colour information
The source stores grayscale or bitonal values. A colour-capable EXR can represent these tones, but conversion cannot infer original scene colours or recover missing intermediate shades. Colourisation would be a separate image-editing operation.
An HDR container adds no captured range
SDR pixels are converted from sRGB to linear EXR; this does not recover HDR detail. EXR V1 accepts single-part scanline RGB/RGBA HALF/FLOAT with linear Rec.709/D65 colour and premultiplied alpha, up to 4 MP. Tiled, deep, multipart, layers and other colour spaces are unsupported. EXR output is HALF RGBA ZIP; EXR editing is unavailable.
Transparency
The target can store an alpha channel, but converting an opaque image does not create transparent areas. Removing a background is a separate editing step.
Encoding mode
EXR supports lossy and lossless codecs. Choose one for the sample types and required precision; .exr alone does not guarantee exact channel preservation. The format name alone does not guarantee lossless output or a smaller file. WebP, AVIF and JPEG XL offer quality and lossless options; HEIC/HEIF use lossy native HEVC. TIFF and JP2 use their implemented lossless variants. PDF offers JPEG or lossless image embedding.
Sample precision & colour
SDR pixels are converted from sRGB to linear EXR; this does not recover HDR detail. EXR V1 accepts single-part scanline RGB/RGBA HALF/FLOAT with linear Rec.709/D65 colour and premultiplied alpha, up to 4 MP. Tiled, deep, multipart, layers and other colour spaces are unsupported. EXR output is HALF RGBA ZIP; EXR editing is unavailable.
Metadata & colour
This output writer does not preserve source EXIF, GPS or XMP metadata blocks. Original ICC profiles are not copied. SDR pixels are converted from sRGB to linear EXR; this does not recover HDR detail. EXR V1 accepts single-part scanline RGB/RGBA HALF/FLOAT with linear Rec.709/D65 colour and premultiplied alpha, up to 4 MP. Tiled, deep, multipart, layers and other colour spaces are unsupported. EXR output is HALF RGBA ZIP; EXR editing is unavailable.
Compression
PGM: Uncompressed → EXR: Lossy & lossless 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. EXR: EXR supports lossy and lossless codecs. Choose one for the sample types and required precision; .exr alone does not guarantee exact channel preservation.
Transparency
PGM: No → EXR: Yes
Colour depth
PGM: maxval up to 65535 → EXR: HALF 16 / FLOAT 32 / UINT 32
HDR
EXR: Floating-point working values
Multiple images
EXR: Multipart
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?

The first supported Netpbm image is decoded; concatenated images are not exported as a sequence.

Can conversion restore colour or missing shades?

The source stores grayscale or bitonal values. A colour-capable EXR can represent these tones, but conversion cannot infer original scene colours or recover missing intermediate shades. Colourisation would be a separate image-editing operation.

Can EXR recover clipped highlights?

SDR pixels are converted from sRGB to linear EXR; this does not recover HDR detail. EXR V1 accepts single-part scanline RGB/RGBA HALF/FLOAT with linear Rec.709/D65 colour and premultiplied alpha, up to 4 MP. Tiled, deep, multipart, layers and other colour spaces are unsupported. EXR output is HALF RGBA ZIP; EXR editing is unavailable.

Are bit depth and colour values guaranteed to match?

SDR pixels are converted from sRGB to linear EXR; this does not recover HDR detail. EXR V1 accepts single-part scanline RGB/RGBA HALF/FLOAT with linear Rec.709/D65 colour and premultiplied alpha, up to 4 MP. Tiled, deep, multipart, layers and other colour spaces are unsupported. EXR output is HALF RGBA ZIP; EXR editing is unavailable.

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. SDR pixels are converted from sRGB to linear EXR; this does not recover HDR detail. EXR V1 accepts single-part scanline RGB/RGBA HALF/FLOAT with linear Rec.709/D65 colour and premultiplied alpha, up to 4 MP. Tiled, deep, multipart, layers and other colour spaces are unsupported. EXR output is HALF RGBA ZIP; EXR editing is unavailable.