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. PAM 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
Rendered SDR output uses 8-bit display pixels; source precision and original ICC profiles are not retained. Colour handling depends on the decoder and supported source variant.
JPEG 2000
Source
JPEG 2000
JPEG 2000
Compression: Lossy & losslessTransparency: YesMetadata: JP2 boxes, ICC, XML (extensions)
Wavelet-based image coding with reversible and irreversible modes. JP2 containers add colour information around the codestream.
PAM fits your delivery use: Channel-aware image pipelines.
You need a transparency-capable destination and will check its supported variant.
You need lossless storage of the rendered samples supported by PAM.
You can validate the destination’s sample precision and colour interpretation.
Probably not when
You assume format-level alpha support guarantees matching transparent edges.
You expect lossless encoding to restore lost details or editing structure.
You require identical samples without a defined colour and precision policy.
JPEG 2000 to PAM conversion details
Transparency representation
Transparency is carried only by supported source and target variants. SDR paths use 8-bit alpha; EXR uses HALF alpha with premultiplied file samples. GIF reduces alpha to a binary transparent index. HEIC/HEIF output is opaque and auxiliary HEIF alpha input is rejected.
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. PAM 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
Rendered SDR output uses 8-bit display pixels; source precision and original ICC profiles are not retained. Colour handling depends on the decoder and supported source variant.
Metadata & colour
This output writer does not preserve source EXIF, GPS or XMP metadata blocks. Original ICC profiles are not copied. Rendered SDR output uses 8-bit display pixels; source precision and original ICC profiles are not retained. Colour handling depends on the decoder and supported source variant.
Compression
JPEG 2000: Lossy & lossless → PAM: Uncompressed JPEG 2000: JPEG 2000 supports reversible lossless and irreversible lossy coding. A JP2 container, an extended JPX/JPF file and a raw J2K codestream are related but not identical file structures. PAM: 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
JPEG 2000: Yes → PAM: Yes
Colour depth
JPEG 2000: Component-defined precision → PAM: maxval up to 65535
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
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. PAM 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?+
Rendered SDR output uses 8-bit display pixels; source precision and original ICC profiles are not retained. Colour handling depends on the decoder and supported source variant.
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. Rendered SDR output uses 8-bit display pixels; source precision and original ICC profiles are not retained. Colour handling depends on the decoder and supported source variant.