Supported self-contained static SVG shapes are rasterized at the decoded dimensions. Text, scripts, animation, embedded images and external resources are rejected. Paths become pixels and do not remain editable vectors.
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.
SVG
Source
SVG
Scalable Vector Graphics
Compression: Not a pixel codecTransparency: YesMetadata: XML metadata, title, desc
XML-based vector graphics with shapes, text and optional animation. Raster export chooses a specific pixel resolution.
PGM fits your delivery use: Grayscale images & masks.
You need a fixed-resolution raster asset.
Your processing pipeline explicitly needs grayscale samples.
An opaque image is acceptable for your destination.
Probably not when
You need editable paths, text or resolution-independent scaling.
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.
SVG to PGM conversion details
Vectors become pixels
Supported self-contained static SVG shapes are rasterized at the decoded dimensions. Text, scripts, animation, embedded images and external resources are rejected. Paths become pixels and do not remain editable vectors.
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
SVG: Not a pixel codec → PGM: Uncompressed SVG: SVG describes geometry rather than using a lossy/lossless pixel codec. XML can be compressed for transport, but rasterization is a separate operation that fixes resolution and can discard editability. 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
SVG: Yes → PGM: No
Animation
SVG: Yes → PGM: No
Colour depth
PGM: maxval up to 65535
Vector graphics
SVG: Paths, shapes & text
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 remain scalable vector artwork?+
Supported self-contained static SVG shapes are rasterized at the decoded dimensions. Text, scripts, animation, embedded images and external resources are rejected. Paths become pixels and do not remain editable vectors.
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.
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.