JPEG to PPM Converter

Turn a JPEG photo into an uncompressed Netpbm PPM for scripts and pixel tools, in your browser.

or drop files here

JP

JPEG Format

JPEG image

The lossy photo format named for the Joint Photographic Experts Group, built for photographs.

  • 8 bits per color channel
  • No alpha channel
  • image/jpeg
PP

PPM Format

Portable Pixmap

Netpbm's portable color pixel-map format. Each pixel carries red, green and blue samples.

  • P6 binary or P3 plain text
  • Maximum sample value 1 to 65535

How to convert JPEG to PPM

Follow these steps to convert JPEG to PPM online.

    1

    Choose your JPEG file, or several at once.

    2

    Wait while the converter turns each file into PPM.

    3

    Download each new PPM file. Your original file isn't changed.

What to know before converting JPEG to PPM

  • The PPM skips compression, so it can dwarf the JPEG in size.
  • JPEG damage already in the picture stays.
  • The page offers no ASCII or binary choice.
  • Choose several JPEGs and each gives its own PPM.

About JPEG and PPM files

What is a JPEG file?

Typical settings squeeze a picture to between 5 and 10 percent of its uncompressed size, which helps explain why the format is everywhere: cameras and scanners commonly build it in, and every major browser displays it. The .jpg and .jpeg extensions mean the same format, and work on it began in 1986 under the Joint Photographic Experts Group. The patents covering JPEG in the US ran out on 27 October 2006. Each color channel gets 8 bits, and neither alpha nor layers fit in the file.

Programs that open JPEG files

  • Web: a browser tab shows it directly.
  • Windows: Windows Photos can look at one.
  • Mac: Preview can look at one too.
  • Windows, Mac and Linux: GIMP opens a JPEG for editing.

JPEG and PPM compared

In the Netpbm family, PPM is the format for color. A binary PPM begins with P6 and a plain-text one begins with P3. A pixel holds red, green and blue samples, and the highest allowed sample value ranges from 1 up to 65535. A PPM is RGB only, with no alpha channel and no compression.

The browser decodes your JPEG and ImageMagick writes the PPM from the resulting pixels. You get the pixels without JPEG's compression, but the picture itself is not restored, and the page has no controls to change the output. Open the result in a tool that reads Netpbm files, or convert it onward with ImageMagick or Netpbm.

Other ways to convert JPEG to PPM

  • Netpbm: run jpegtopnm photograph.jpeg > samples.ppm. The tool writes to standard output, and a color JPEG gives a PPM while a grayscale one gives a PGM.
  • GIMP: open the JPEG and export it to a PPM file. The dialog's Data formatting setting chooses ASCII or RAW, and RAW makes smaller files.
  • ImageMagick: run magick photograph.jpeg samples.ppm. Its format list shows PPM, the Netpbm color pixmap format, as readable and writable.

Problems with JPEG files

  • Flattened artwork: a JPEG cannot store transparency, so cutouts need a format with alpha.
  • Lossy damage: blocks and banding left by compression stay in every copy you make.
  • No layers: only one flat picture fits in a JPEG, so keep the original project.

Frequently Asked Questions

Everything you need to know about our converter

Why does my PPM weigh so much more than the JPEG?

Does a PPM keep my photo's quality?

What can open a PPM?

Is there an option for ASCII or binary PPM?

Is EXIF data kept?

Why does my text editor show gibberish?

Can a PPM hold transparency?

Is anything uploaded to make the PPM?