HEIC to PGM Converter

Convert HEIC to PGM free — portable grayscale map

Drop files here. 1 GB maximum file size or Sign Up
to
Facebook Amazon Microsoft Tesla Nestle Walmart L'Oreal

Scientific Standard

PGM is a go-to format for academic and scientific image analysis — simple, portable, and universally understood by imaging tools.

Clean Grayscale

PGM strips your HEIC photo to pure luminance data — perfect for computer vision, medical imaging, and pattern recognition.

Cloud Processing

HEIC decoding and PGM generation happen on Convertio servers — no Netpbm tools needed on your machine.

How to convert HEIC to PGM

1

Select files from Computer, Google Drive, Dropbox, URL or by dragging it on the page.

2

Choose pgm or any other format you need as a result (more than 200 formats supported)

3

Let the file convert and you can download your pgm file right afterwards

About formats

HEIC (High Efficiency Image Container) is Apple's branded implementation of the HEIF (High Efficiency Image File Format) standard that uses HEVC (H.265) as its image compression codec. Apple adopted HEIC as the default photo format on iPhones and iPads starting with iOS 11 in September 2017, replacing JPEG for newly captured images. HEIC files store photographs compressed with the intra-frame coding mode of the HEVC video codec, which applies sophisticated prediction, transform, and entropy coding techniques that achieve roughly 50% better compression than JPEG at equivalent visual quality. The ISOBMFF (ISO Base Media File Format) container supports multiple images in a single file, enabling Live Photos (a still plus a short video clip), burst sequences, depth maps from dual-camera systems, and HDR gain maps that allow compatible displays to render extended dynamic range. HEIC also stores alpha channels, auxiliary images for computational photography features (portrait mode depth data, semantic segmentation masks), and comprehensive EXIF/XMP metadata. One advantage is storage efficiency: iPhones shooting HEIC use roughly half the storage of equivalent JPEG captures with no visible quality loss, a significant benefit on devices where storage is finite and photos accumulate rapidly. The format's integration with Apple's ecosystem is another key strength — HEIC files are natively supported across macOS, iOS, iPadOS, and iCloud Photos, and automatic JPEG transcoding during file sharing ensures compatibility when sending photos to non-Apple devices. HEIC can also be opened by Windows 10/11 (with codec), GIMP, ImageMagick, and Adobe Lightroom.
Developer: MPEG / Apple
Initial release: 2015
PGM (Portable Graymap) is the grayscale member of the Netpbm image format family, created by Jef Poskanzer in 1988 as part of the Pbmplus toolkit for Unix systems. PGM stores single-channel intensity images where each pixel holds a gray value from 0 (black) to a user-specified maximum (typically 255 for 8-bit or 65535 for 16-bit). The format exists in ASCII (magic number P2), where pixel values are written as decimal text numbers separated by whitespace, and binary (magic number P5), where values are stored as raw bytes. Both variants begin with a header specifying the magic number, width, height, and maximum gray value. PGM was designed as the grayscale intermediate in Netpbm's convert-process-convert pipeline philosophy: source images from any format are converted to PGM, processed using Netpbm's extensive command-line tool library, then converted to the target format. One advantage is format transparency — the ASCII variant makes image data directly readable by humans and trivially processable by text tools like awk and grep, invaluable for debugging and education. The scientific and computer vision community's adoption is another strength: PGM's straightforward single-channel representation makes it a natural format for image analysis algorithms, and many academic papers and course materials use PGM examples. The format is supported by ImageMagick, GIMP, and countless image processing libraries, and remains standard input for many research tools and benchmarks.
Developer: Jef Poskanzer
Initial release: 1988

Frequently Asked Questions

Why convert HEIC to PGM?

PGM is a standard grayscale format for scientific image processing. Converting HEIC to PGM gives you clean grayscale data for analysis.

What opens PGM files?

GIMP, ImageMagick, IrfanView, and Netpbm tools — widely used in scientific imaging and computer vision applications.

Is PGM only grayscale?

Yes — PGM stores a single intensity channel per pixel. Your color HEIC photo is converted to luminance values during the process.

Can PGM be opened in a text editor?

ASCII-mode PGM files are human-readable text — useful for debugging and educational purposes in image processing courses.

Is HEIC to PGM conversion free?

Yes, standard conversions are free. Premium plans offer faster processing and batch support.

HEIC to PGM Quality Rating

4.5 (4 votes)
You need to convert and download at least 1 file to provide feedback!