Cookie preferences

Read our cookie policy

Strictly necessary

Required for the site to function. These cannot be switched off.

Always active

Analytics

Help us understand which pages are useful, so we can improve them.

Marketing

Used to measure our advertising and show you relevant content elsewhere.

Get started

PGM to JPG Converter

PGM to JPG Converter helps photographers turn Portable Graymap files into standard grayscale JPGs. PGM images often come from scanners, scientific cameras, and image processing scripts. Choose one or several files, plain or binary, 8-bit or 16-bit, click Convert to JPG, and each one is rebuilt in your browser at its full resolution and downloaded.

Loading the tool…

Are you a photographer?

Our free tools are built for working photographers, to prep, convert and deliver images without leaving the browser. Tell us first, then sign up to see your result and download it.

Imagen cuts editing time by up to 96%

Stop spending countless hours on repetitive editing tasks.
Focus on what matters most: your creativity and your clients.

Expert Support for Photographers 24/7

Ask us anything, connect with our customer success team.
We go beyond troubleshooting - we’re your partners in optimizing workflows and realizing your creative vision.

Get Started

No credit card required.

Faster editing time
96%
Saving on editing costs
90%
Typical turnaround
24h

Reviews from those who know best.

  • Rated 5 out of 5

    “The term 'game changer' gets thrown out a lot, but for any busy photographer, this software will change your life.”

    Michael AntonyMichael Antony Photography, USA
  • Rated 5 out of 5

    “My survival is due to Imagen… I would MARVEL at how little I had to adjust.”

    Charmi Patel PeñaWedding Photographer, USA
  • Rated 5 out of 5

    “It’s so refreshing to start with a high level of quality, and it leaves me with much more energy to spend on my favorite photos.”

    Sam HurdSam Hurd Photography, USA
  • Rated 5 out of 5

    “Discovering Imagen has been like someone inventing toilet paper. Simply essential and now life is unthinkable without it. I now know that those years of editing backlogs are a thing of the past. I'm truly grateful.”

    Sarah EdmundsPortrait & Wedding Photographer, Italy
  • Rated 5 out of 5

    “It’s a must for me after my culling process. Love Imagen since day one.”

    Fer JuaristiFer Juaristi Photography, Mexico
  • Rated 5 out of 5

    “Thanks to Imagen, I can actually enjoy editing… I have recovered hundreds of hours back.”

    Daniel AlonsoPeople TrueLove Tellers, Spain

Frequently asked questions

What is a PGM file?

PGM, or Portable Graymap, is part of the Netpbm family of image formats. It stores a grayscale image as a short header, giving the width, height, and maximum gray value, followed by a brightness value for each pixel. It is popular in scientific imaging, machine vision, and scripting because it is so simple, but most photo viewers and websites will not open it.

How do I convert PGM to JPG?

Click the file area at the top of the tool and choose one or more .pgm files. Each file is listed with a Ready status. Click Convert to JPG and the converter processes the files in order, showing Processing and then Done for each. The JPGs download automatically, keeping the original names with a .jpg extension, so they are easy to match to their sources. Choosing files again replaces the current list.

Which kinds of PGM files are supported?

Both forms of PGM are read. Plain PGM begins with P2 and lists every pixel value as a number; binary PGM begins with P5 and stores values as bytes, one per pixel for files with a maximum of 255 and two per pixel for 16-bit files. Comment lines in the header are skipped. A file that does not have a valid Netpbm header is marked Format Error in the list and the rest of the batch carries on.

Will the JPG keep the original gray levels?

Each pixel is scaled from the file's own maximum gray value to the standard 0 to 255 range, so the darkest and brightest values keep their relationship whether the file uses a maximum of 255 or a higher value such as 65535. The JPG is saved at 90 percent quality, at exactly the width and height in the header. Files with more than 256 gray levels are reduced to 8 bits, so keep the original for precise measurement work.

When would a photographer need to convert PGM files?

PGM files appear when you work with scientific or astronomy cameras, machine vision systems, scanners, or image processing scripts that output depth maps or masks. Converting them to JPG lets you preview them in any viewer, include them in a presentation or gallery, or send them to a client or collaborator who does not have specialist software.

Is the PGM to JPG Converter free to use?

Yes. It is free, adds no watermark, and needs no software installed. Files are converted on your own device in the browser and never leave it. To unlock the tools, you answer that you are a photographer and create or log into a free account once, and every tool is available from then on.

The ultimate platform for all your photography post-production needs.

Make time, not compromises

Imagen applies your creative choices across projects, reducing editing time while keeping every photo unmistakably yours.

Try Imagen today

Accessibility options

These settings change how this site is displayed. They are saved on this device only.

Text size