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 TGA can represent these tones, but conversion cannot infer original scene colours or recover missing intermediate shades. Colourisation would be a separate image-editing operation.
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.
Lossless sample storage
TGA can be uncompressed or losslessly RLE-compressed. Attribute bits and version-2 alpha semantics matter; the fourth byte must not automatically be treated as opacity. TGA 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.
TGA fits your delivery use: Textures & graphics assets.
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 lossless storage of the rendered samples supported by TGA.
You need a TGA-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 lossless encoding to restore lost details or editing structure.
You require identical samples without a defined colour and precision policy.
You expect automatic background removal or transparency.
PGM to TGA 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 TGA can represent these tones, but conversion cannot infer original scene colours or recover missing intermediate shades. Colourisation would be a separate image-editing operation.
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.
Lossless sample storage
TGA can be uncompressed or losslessly RLE-compressed. Attribute bits and version-2 alpha semantics matter; the fourth byte must not automatically be treated as opacity. TGA 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
PGM: Uncompressed → TGA: 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. TGA: TGA can be uncompressed or losslessly RLE-compressed. Attribute bits and version-2 alpha semantics matter; the fourth byte must not automatically be treated as opacity.
Transparency
PGM: No → TGA: Yes
Colour depth
PGM: maxval up to 65535 → TGA: Indexed / gray / RGB / RGBA
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 TGA can represent these tones, but conversion cannot infer original scene colours or recover missing intermediate shades. Colourisation would be a separate image-editing operation.
Will the background become transparent?+
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.
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.