Initializing... drag & drop files here
Supports: MPG, MPEG
An MPG is a video file — usually MPEG-1, the standard published in 1993 — while PPM (Portable Pixmap) is a single still image. This converter does not turn a movie into a sequence; it decodes one frame from your MPG at the moment you pick and writes it out as a PPM bitmap. PPM is the full-color member of the Netpbm family: a deliberately plain, uncompressed RGB raster that image-processing tools, ray tracers, and research code read without any decoding library. That makes it useful as a pipeline or interchange frame, but a poor choice for sharing a picture — for a normal photo, grab the frame as PNG or as JPG instead.
| Property | Value |
|---|---|
| Format | MPEG program stream, .mpg / .mpeg |
| Standard | ISO/IEC 11172 (MPEG-1), first parts published August 1993 |
| Type | Multimedia container (video + audio) |
| Typical video codec | MPEG-1 Video; some .mpg files carry MPEG-2 |
| Common sources | Older camcorders, ripped Video CDs, DVB captures, legacy archives |
| What we read from it | A single decoded video frame at your chosen time |
| Property | Value |
|---|---|
| Family | Netpbm — Portable Pixmap |
| Magic numbers | P6 (raw / binary) or P3 (plain / ASCII) |
| Compression | None — uncompressed RGB, no lossy artifacts |
| Color model | RGB; each pixel is a red/green/blue triplet, in that order |
| Samples per channel | 1 byte when maxval is below 256 (8-bit), 2 bytes otherwise (16-bit) |
| Maxval range | Greater than 0 and less than 65536 |
| Header | Plain text: magic number, width, height, maxval |
| Best for | Image-processing pipelines, ray tracers, ML feature maps, teaching |
| Spec | Netpbm PPM specification, still maintained |
.mpg and .mpeg are accepted, and you can queue several at once.0 for the opening frame or 2.5 for two and a half seconds in), or switch to "Multiple Screenshots" to export several frames across the clip as separate PPM files.It extracts a single frame. PPM holds one still image, not a movie or an animation, so the output is one picture rather than every frame of the clip. By default the grab is taken at time 0 — the opening frame — and you set "Time (seconds)" to capture any other moment. If you need a sequence, switch to "Multiple Screenshots", which samples several frames across the clip and returns each as its own PPM file. To turn an MPG into a moving image instead, use MPG to GIF.
PPM stores raw RGB samples with no compression and no color-space surprises, so a program can read pixel (x, y) by walking a short plain-text header and then a flat byte array. That predictability is the whole point in ray tracers, scientific imaging, computer-vision pipelines, and graphics coursework — you skip PNG's zlib stream and JPEG's lossy DCT entirely. If you instead want a small, shareable still that opens everywhere, convert the frame to PNG rather than PPM.
This converter writes binary P6 PPM, the form nearly every Netpbm tool and image library expects. P6 stores each red/green/blue sample as raw bytes after the plain-text header, so it is far more compact than the P3 ASCII variant while holding identical pixel data. P3 spells every sample out as a whitespace-separated decimal number — human-readable, but several times larger on disk.
The PPM step itself is lossless — it stores the decoded frame's RGB pixels exactly, with no further compression. The catch is upstream: the source MPG is MPEG-1 (or MPEG-2), itself a lossy codec, so the frame already carries the video's compression artifacts before it reaches PPM. PPM cannot remove those, and it cannot add detail that was never recorded, but it will not introduce any new artifacts of its own.
Because PPM is uncompressed, size is roughly width times height times 3 bytes for 8-bit color, plus a tiny header. In our testing, a 352x288 PAL MPG frame produced a P6 PPM near 300 KB, while a 720x480 standard-definition frame landed around 1 MB. Selecting 16-bit color roughly doubles the byte count, and larger source frames grow with pixel area — so expect PPM to be many times bigger than the equivalent PNG or JPEG.
Usually not. No mainstream browser displays PPM, and the default image viewers on Windows and macOS generally do not either — PPM is an interchange and pipeline format, not a delivery format. To view one, open it in a tool that supports Netpbm such as GIMP or ImageMagick, or convert PPM to PNG for a format that opens anywhere.
Bit depth sets how many bits each color sample carries. "8-bit (Recommended)" gives the usual 24-bit-per-pixel RGB and maps to a PPM maxval below 256, so each sample is one byte. "16-bit (High Precision)" gives 48-bit color with two bytes per sample, which downstream scientific tools sometimes require; the Netpbm spec allows a maxval up to just under 65536 for this. "1-bit (Black & White)" produces a plain monochrome image. PPM has no alpha channel, so there is no transparency to preserve.
Files are uploaded over an encrypted connection, processed on our servers, and both the upload and the generated PPM are deleted automatically a few hours after conversion — no sign-up, no watermark, never shared or made public.