PGM to JPG Converter

Add a gray .pgm and get a JPG that shows on any phone, in any chat or browser.

FluffyShield Protected workspace
FluffyShield

Isolated workspace: other page scripts can't read your files. How FluffyShield works

Free · No upload · No sign-up · No usage quotas

How it works
  1. The grays are read from the .pgm
  2. They're stored as a JPG at Quality 92
  3. 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.

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.

  1. Select your .pgm through Choose images.

  2. Tap Convert 1 to JPG.

  3. Tap the arrow on the finished card to download it.

    The finished card for the gray mountain photo, with the Download button outlined.
    The finished card for the gray mountain photo, with the Download button outlined.

Need the grays exactly?

A program or a person will read values off the picture.

FluffyBench's PGM to PNG converter

A PNG keeps every gray just as the PGM held it, and nearly every app opens it.

Search FluffyBench