PPM
PPM raster imageUsed for pixel-based artwork, scans, and photographs.
- Family
- Images
- MIME
- image/x-portable-pixmap
Convert PPM to PNG online and see exactly what pixel decoding and image re-encoding changes, what PNG still can't promise, and how to verify the result.
Converter.now decodes a Netpbm portable pixmap containing straightforward RGB samples with a small textual or binary header into a working pixel canvas, then writes that canvas according to PNG's color and compression model. Dimensions may stay constant while encoding, metadata, and fine detail change. PPM input reads its magic number, dimensions, maximum channel value, ASCII-or-binary samples, and exact RGB ordering without relying on metadata. PNG output preserves the exact raster samples with optional full alpha and color metadata, though file size, palette reduction, the lack of animation, and profile handling all still vary by writer.
Decoded canvas - A Netpbm portable pixmap containing straightforward RGB samples with a small textual or binary header. Written image - Pixels written losslessly with a full alpha channel available.
Used for pixel-based artwork, scans, and photographs.
Designed for lossless images and transparency.
PNG wins this route whenever its specific mix of compatibility, alpha, animation, and file size fits the destination better than PPM does.
PPM files can be unexpectedly large, and readers differ on high sample values, comments, and ASCII versus binary variants.
PNG is a poor fit for photographic detail, and even without any JPEG-style loss, palette reduction can visibly simplify a smooth gradient.
pixels written losslessly with a full alpha channel available is what gets written, labeled as image/png. Whether that actually opens depends on the receiving application, not on the file extension.
Confirm magic number, maximum sample value, dimensions, channel order, and exact pixel colors.
Zoom to 100% on transparent edges, gradients, and small text, and confirm the exact pixel dimensions.