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.
Only black & white
PBM output is 1-bit black and white. Linear-light luminance is mapped to sRGB and compared with the selected threshold. Colour and intermediate tones are discarded; dithering is not implemented.
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. PBM 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.
DNG
Source
DNG
Adobe Digital Negative
Compression: Depends on variantTransparency: NoMetadata: Exif, DNG tags
A published TIFF-based format for raw image data, calibration and photographic metadata.
PBM fits your delivery use: Bitonal line art & binary masks.
You need a developed image for a non-RAW application.
Your destination needs a bitonal mask or black-and-white bitmap.
You need lossless storage of the rendered samples supported by PBM.
Probably not when
You need the original sensor data and freedom to redevelop it.
You need continuous tones or colour.
You expect lossless encoding to restore lost details or editing structure.
You require identical samples without a defined colour and precision policy.
DNG to PBM 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.
Only black & white
PBM output is 1-bit black and white. Linear-light luminance is mapped to sRGB and compared with the selected threshold. Colour and intermediate tones are discarded; dithering is not implemented.
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. PBM 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
DNG: Depends on variant → PBM: Uncompressed DNG: Compression, sample type and processing stage are defined by the file and DNG version. Converting a proprietary raw file to DNG is different from exporting a rendered photo, but it does not guarantee preservation of every maker-specific feature. Keep the source when future reprocessing or vendor software matters. PBM: 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.
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 PBM 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.
Can PBM retain gray shading?+
PBM output is 1-bit black and white. Linear-light luminance is mapped to sRGB and compared with the selected threshold. Colour and intermediate tones are discarded; dithering is not implemented.
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. PBM 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.