Skip to content

Convert anything, at global scale.

300+ formats and automation APIs that feel instant.

CONVERT

From

To

IMAGEHEIF PGM

Convert HEIF to PGM

Convert HEIF to PGM online for free with no sign up, with quality-focused workflow guidance.

Reverse conversion

Drop files or choose a source

Upload multiple files at once, mix formats, and fine-tune every conversion with format-aware settings.

File size limits depend on your plan · Drag & drop ready · Mixed file types welcome

A familiar browser workflowBatch processingNo installationSecurity & privacy
ONE CONVERSION OR A WHOLE WORKFLOW

Use the web tool now. Automate it when you are ready.

ConverterHQ is built for quick browser conversions and repeatable workflows. Choose the path that fits the work in front of you.

HEIF → PGMDirect upload · pair settings · async jobs · output download
# Contract-backed API v1 example. Pair-specific settings are validated by the capability schema.
# Local bytes always bypass the API process: create an owned File, upload to its signed URL, then submit the File ID.
API="https://sandbox.api.converterhq.io/v1"
FILE_JSON=$(curl -fsS "$API/files"   -H "Authorization: Bearer $CONVERTERHQ_API_KEY"   -H "Content-Type: application/json"   -d '{"filename":"input.heif","content_type":"application/octet-stream","retention_seconds":3600}')
FILE_ID=$(printf '%s' "$FILE_JSON" | python3 -c 'import json,sys; print(json.load(sys.stdin)["id"])')
UPLOAD_URL=$(printf '%s' "$FILE_JSON" | python3 -c 'import json,sys; print(json.load(sys.stdin)["upload"]["url"])')
curl -fsS -X PUT "$UPLOAD_URL" --upload-file "input.heif"
curl -fsS -X POST "$API/files/$FILE_ID/complete"   -H "Authorization: Bearer $CONVERTERHQ_API_KEY"   -H "Content-Type: application/json" -d '{}'

curl -fsS "$API/jobs"   -H "Authorization: Bearer $CONVERTERHQ_API_KEY"   -H "Content-Type: application/json"   -H "Idempotency-Key: example-heif-pgm-001"   -d '{"tasks":{"convert":{"operation":"convert","input":{"file_id":"'"$FILE_ID"'"},"options":{"input_format":"heif","output_format":"pgm","settings":{}}}}}'

# Official SDK convert helpers perform the same Files → signed storage → Jobs transport.

Contract-backed API v1 example. Pair-specific settings are validated by the capability schema.

HEIF format

HEIF at a glance

HEIF

HEIF was developed by MPEG and built on the ISO Base Media File Format lineage, which helps explain why it feels more like a modern media container for images than a simple legacy bitmap file.

PGM format

PGM at a glance

PGM

PBM, PGM, PPM, PNM, and later PAM come from the tool-centric tradition of keeping image interchange formats easy to parse, script, and transform.

How to convert HEIF to PGM

1

Upload your HEIF file.

2

Choose conversion settings and output format.

3

Download or share the converted PGM file.

Format comparison

Feature
HEIF
PGM
File type

Not available

Not available

Extensions
  • .heif

  • .pgm

MIME type
  • image/heif

  • image/x-portable-graymap

Compression / quality

Not available

Not available

File size characteristics

Not available

Not available

Compatibility

Not available

Not available

Editability

Not available

Not available

When to use each format

When to use HEIF

  • capture ingest
  • editing
  • web or print delivery
  • Can package richer image relationships and metadata than older flat image formats.

When to use PGM

  • capture ingest
  • editing
  • web or print delivery
  • Very simple to parse and generate.

FAQs

Why convert HEIF to PGM?

Choose PGM as target when you need a straightforward grayscale raster for scripting, research, or low-overhead image processing.

What changes when converting HEIF to PGM?

Convert to PGM when you need a straightforward grayscale raster for scripting, research, or low-overhead image processing. It is a good target for technical pipelines and intermediate data exchange.

What should I review after converting HEIF to PGM?

After conversion, review these destination checks: Open converted output in Netpbm and verify behavior on real samples; Compare output against the expected depends quality profile; Weak fit for polished consumer delivery.

How can I keep quality stable in HEIF to PGM conversion?

Run representative samples, keep settings deterministic, and monitor these risks: Limited metadata and presentation expectations compared with richer formats; Weak fit for polished consumer delivery; Validate destination compatibility before large-batch conversion.

Format resources

HEIFPGM