Add a .ppm, written in digits or in bytes, and get a small JPG to send or post.
FluffyShieldProtected workspace
From
To
Loading the tool…
The tool didn't load. Reload the page, or check whether an extension or network filter blocks .
Free · No upload · No sign-up · No usage quotas
How it works
The .ppm's numbers are read, digits or bytes
→The picture is stored as a JPG
→You save the JPG
What it does
16-bit files too
A PPM can hold more than 256 levels for each color. Those files open as well, brought down to the 256 levels a JPG keeps.
Limits A PPM cut short, or with a color above the top value its header gives, gets an error instead of a guessed picture.
Why is your PPM so big, and how small can it get?
Partly it's down to how the file is spelled. As a JPG, it shrinks to a sliver either way.
FluffyBench · 3 min read · Measured on a test photo
Why can two PPMs of one picture differ so much in size?
A PPM stores a color picture with nothing squeezed: three numbers for every pixel, its red, green and blue. It comes in two spellings. One keeps each number in a single byte, which looks like gibberish in a text editor. The other writes every number out in digits, with spaces between them, so Notepad shows the whole picture as columns of figures.
The digits cost room. Our 128 by 96 test photo took about three and a half times as much written in digits as in bytes, for exactly the same pixels.
Our photo's JPG was a small fraction of either PPM
PPM
In digits128.4 KB
In bytes36.9 KB
JPG
From either5.7 KB
020406080100120140
File size, KB
FluffyBench made a JPG from each PPM; both came out at the size shown. How we measured
Either kind gives the same JPG, byte for byte, so it makes no difference which one your program wrote.
Your PPM, converted
Quality starts at 92, which is what our test JPG was made with.
Pick the .ppm in Choose images.
Convert 1 to JPG is the button to press next.
Keep the JPG: it’s the arrow button on its card.
Must every color stay as the program wrote it?
Yes: you'll compare the picture against another, or keep editing it.