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 TGA to PGM

Source · TGA
Target · PGM

Drop TGA 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.

Enable JavaScript to convert files locally.

  • In your browser
  • No upload
  • Private by design

What happens when you convert TGA to PGM?

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.

Opaque output

Transparency is replaced with white by default. Change the background in Advanced options.

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.

TGA

Source

TGA

Truevision TGA

Compression: LosslessTransparency: YesMetadata: Image ID, Extension area (v2)

A straightforward raster format from Truevision, with optional RLE compression and alpha for compatible texture workflows.

Explore TGA format →
PGM

Target

PGM

Portable Graymap

Compression: UncompressedTransparency: NoMetadata: Header, Comments

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

Explore PGM format →

Is TGA → PGM right for you?

Good choice when

  • PGM fits your delivery use: Grayscale images & masks.
  • Your processing pipeline explicitly needs grayscale samples.
  • An opaque image is acceptable for your destination.
  • You need lossless storage of the rendered samples supported by PGM.

Probably not when

  • Colour distinctions carry information you need to retain.
  • You need cutouts or translucent edges for compositing.
  • You expect lossless encoding to restore lost details or editing structure.
  • You require identical samples without a defined colour and precision policy.

TGA to PGM conversion details

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.
Opaque output
Transparency is replaced with white by default. Change the background in Advanced options.
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
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
TGA: Lossless → PGM: Uncompressed 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. 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.
Transparency
TGA: Yes → PGM: No
Colour depth
TGA: Indexed / gray / RGB / RGBA → PGM: 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

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.

What happens to transparent areas?

Transparency is replaced with white by default. Change the background in Advanced options.

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?

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.