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 HDR

Source · PGM
Target · HDR

Drop PGM 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.
  • Developed SDR pixels are converted from sRGB to linear RGBE. This does not create new HDR detail or restore lost source precision.

Enable JavaScript to convert files locally.

  • In your browser
  • No upload
  • Private by design

What happens when you convert PGM to HDR?

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 HDR 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

Developed SDR pixels are converted from sRGB to linear RGBE. This does not create new HDR detail or restore lost source precision.

Lossless sample storage

RLE preserves stored RGBE bytes; RGBE quantization is not exact storage of arbitrary float RGB. The .hdr format is distinct from the general concept of HDR photography. HDR 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.

PGM

Source

PGM

Portable Graymap

Compression: UncompressedTransparency: NoMetadata: Header, Comments

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

Explore PGM format →
HDR

Target

HDR

Radiance HDR / RGBE

Compression: LosslessTransparency: NoMetadata: Radiance header, EXPOSURE, FORMAT

Radiance pictures with a shared exponent for high-dynamic-range lighting values.

Explore HDR format →

Is PGM → HDR right for you?

Good choice when

  • HDR fits your delivery use: Lighting environments & radiometry.
  • 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.

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 expect lossless encoding to restore lost details or editing structure.

PGM to HDR 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 HDR 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
Developed SDR pixels are converted from sRGB to linear RGBE. This does not create new HDR detail or restore lost source precision.
Lossless sample storage
RLE preserves stored RGBE bytes; RGBE quantization is not exact storage of arbitrary float RGB. The .hdr format is distinct from the general concept of HDR photography. HDR 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
Developed SDR pixels are converted from sRGB to linear RGBE. This does not create new HDR detail or restore lost source precision.
Metadata & colour
This output writer does not preserve source EXIF, GPS or XMP metadata blocks. Original ICC profiles are not copied. Developed SDR pixels are converted from sRGB to linear RGBE. This does not create new HDR detail or restore lost source precision.
Compression
PGM: Uncompressed → HDR: 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. HDR: RLE preserves stored RGBE bytes; RGBE quantization is not exact storage of arbitrary float RGB. The .hdr format is distinct from the general concept of HDR photography.
Colour depth
PGM: maxval up to 65535 → HDR: 32-bit RGBE / XYZE pixel
HDR
HDR: Radiometric values
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 HDR 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 HDR recover clipped highlights?

Developed SDR pixels are converted from sRGB to linear RGBE. This does not create new HDR detail or restore lost source precision.

Are bit depth and colour values guaranteed to match?

Developed SDR pixels are converted from sRGB to linear RGBE. This does not create new HDR detail or restore lost source precision.

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. Developed SDR pixels are converted from sRGB to linear RGBE. This does not create new HDR detail or restore lost source precision.