Neutral camera development to 8-bit sRGB; original RAW precision and the camera JPEG look are not retained. Only the first RAW image in each file is developed. Metadata preservation depends on source fields and the selected output writer.
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.
Canon CRW
Source
Canon CRW
Canon Raw / Camera Image File Format
Compression: Depends on variantTransparency: NoMetadata: CIFF
Canon’s earlier CIFF-based raw files, requiring a decoder for the original camera data.
PGM fits your delivery use: Grayscale images & masks.
You need a developed image for a non-RAW application.
Your processing pipeline explicitly needs grayscale samples.
You need lossless storage of the rendered samples supported by PGM.
Probably not when
You need the original sensor data and freedom to redevelop it.
Colour distinctions carry information you need to retain.
You expect lossless encoding to restore lost details or editing structure.
You require identical samples without a defined colour and precision policy.
Canon CRW to PGM conversion details
RAW development
Neutral camera development to 8-bit sRGB; original RAW precision and the camera JPEG look are not retained. Only the first RAW image in each file is developed. Metadata preservation depends on source fields and the selected output writer.
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.
Sample precision & colour
Neutral camera development to 8-bit sRGB; original RAW precision and the camera JPEG look are not retained. Only the first RAW image in each file is developed. Metadata preservation depends on source fields and the selected output writer.
Metadata & colour
This output writer does not preserve source EXIF, GPS or XMP metadata blocks. Original ICC profiles are not copied. Neutral camera development to 8-bit sRGB; original RAW precision and the camera JPEG look are not retained. Only the first RAW image in each file is developed. Metadata preservation depends on source fields and the selected output writer.
Compression
Canon CRW: Depends on variant → PGM: Uncompressed Canon CRW: CRW metadata uses CIFF records rather than assuming a standard TIFF Exif layout. Some editing information can be stored by Canon software in additional records. Decoder and metadata-tool support must match the format; a JPEG preview does not replace the original raw data. 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.
Colour depth
Canon CRW: Camera and recording mode → PGM: maxval up to 65535
Sensor data
Canon CRW: Raw development required
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 PGM still be an editable camera RAW?+
Neutral camera development to 8-bit sRGB; original RAW precision and the camera JPEG look are not retained. Only the first RAW image in each file is developed. Metadata preservation depends on source fields and the selected output writer.
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.
Does lossless output mean an unchanged source?+
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.
Are bit depth and colour values guaranteed to match?+
Neutral camera development to 8-bit sRGB; original RAW precision and the camera JPEG look are not retained. Only the first RAW image in each file is developed. Metadata preservation depends on source fields and the selected output writer.
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. Neutral camera development to 8-bit sRGB; original RAW precision and the camera JPEG look are not retained. Only the first RAW image in each file is developed. Metadata preservation depends on source fields and the selected output writer.