Add a gray .pgm and get a JPG that shows on any phone, in any chat or browser.
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 grays are read from the .pgm
→They're stored as a JPG at Quality 92
→You download it
What it does
What the moved grays buy
Our gray photo's JPG took less than half the space of its PGM, paid for by the grays it moved.
Our gray photo, PGM to JPG: 59.3% smaller
Limits A JPG has 256 grays, so a PGM with more than that is rounded to the nearest of them.
Is a JPG close enough to your gray picture?
For looking at and sharing, yes. For measuring, keep the PGM.
FluffyBench · 2 min read · Measured on a test photo
How far does a JPG move the grays?
A PGM stores one number for each pixel, from 0 for black up to white. Nothing is squeezed, so the numbers in the file are exactly the grays you see.
A JPG saves room by rounding off tiny differences between neighboring pixels, so if you'll read the grays back as numbers, most of them won't be the ones you put in. Seven pixels in ten on our 128 by 96 gray photo came back different, 8,654 of 12,288, though none by more than 11 steps on the 0 to 255 scale.
For a picture someone will only look at, that's close enough. If the grays are measurements, every pixel that moved is now a wrong reading.
Getting the gray JPG
A gray photo needs nothing changed in Settings.
Select your .pgm through Choose images.
Tap Convert 1 to JPG.
Tap the arrow on the finished card to download it.
Need the grays exactly?
A program or a person will read values off the picture.