Theme

File names

IMG_2041.heic

IMG_2041.jpg

Language

Your files and these choices stay on this device.

Conversion settings

Your starting point for new files. You can still change anything before converting.

Convert to

Quality
AutoSmaller fileBest quality
Bitrate
Auto64 kbps320 kbps
Video bitrate
Auto1 Mbps12 Mbps
Speed
Resolution
Color
Normalize volume
Remove metadata
Leave out images
Download several files as

Image format

What is a .pgm file?

The greyscale member of the Netpbm family, with the same simple header as PPM but a single value per pixel. Tools that read PGM usually read PPM too, since the formats only differ in the channels.

fileclay opens and writes PGM

When to use PGM

Best for
Grayscale tests and scientific image processing.
Advantages
Plain grayscale values, easy to process.
Disadvantages
No color, and photo apps rarely open it.

Convert PGM files

Questions about PGM

How do I convert my files to .pgm?

Open the fileclay converter, drop your file in and pick .pgm as the output format. It runs inside your browser with WebAssembly, so nothing is uploaded, there’s no account and no watermark.

Which formats can I convert PGM files into?

fileclay can write 24 formats from a PGM file, including PNG, JPG, WebP, BMP, TIF and TIFF. Pick any of them as the output format when you drop the file in.

Is PGM lossless?

Yes. PGM keeps all the original data, so nothing is lost when the file is saved.

Does PGM support transparency?

No. PGM has no transparency: converted images get a solid background.

Related formats