PGM to G4 conversion is the process of transforming a Portable GrayMap (PGM) image — a simple uncompressed grayscale raster format — into a Group 4 (G4) encoded file, a bi-level (black-and-white) CCITT standard compression commonly used in scanned documents and fax images. This conversion involves dithering or thresholding to reduce grayscale to pure black-and-white and then applying G4 run-length compression to produce a compact, fax-friendly image file.
Related guides
Practical guides to help you choose formats, preserve quality, and avoid common conversion problems.
WebP has quietly become the default image format of the modern web, delivering 25-35% smaller files than JPG and PNG with universal browser support. This 2026 guide covers current adoption stats, browser compatibility, WordPress integration, conversion workflows, and when to choose WebP over AVIF for optimal Core Web Vitals performance.
Read guide →Not sure whether to save your image as PNG or JPG? This detailed comparison covers compression, transparency, file size, web performance, and real-world use cases so you can pick the right format every time — with conversion links when you need to switch.
Read guide →Learn how to convert HEIC to JPG for maximum compatibility. This guide explains what HEIC is, why iPhones use it, the key differences between HEIC and JPG, and walks through every conversion method including online tools, iPhone settings, Windows, and Mac.
Read guide →Drag your .PGM file from your computer or use the browse function.
Confirm .g4 as the selected destination format.
Click "Convert" and download your converted .G4 file once ready.
PGM files typically use the MIME type image/x-portable-graymap and store grayscale images in a simple, uncompressed format. G4 files, often associated with the MIME type image/tiff, use CCITT Group 4 compression, making them ideal for monochrome scanned documents and fax transmissions. Common codecs for G4 include TIFF CCITT Group 4, supporting lossless compression.
The G4 (.G4) format is commonly used for image. Understanding its characteristics can be helpful when converting to or from other formats like PGM.
While specific technical details aren't available here, G4 files generally serve the purpose of storing image effectively within their domain.
Our Online PGM to G4 Converter lets you transform your PGM images into the G4 format with ease and speed. No software installation is needed, making it the perfect solution for quick conversions right from your browser. Whether you are working with image processing or document scanning, this converter provides a seamless experience.
PGM files are uncompressed grayscale images commonly used in scientific and imaging contexts, while G4 files utilize CCITT Group 4 compression to encode binary images efficiently. Unlike PGM, G4 is optimized for faxing and scanned document storage, significantly reducing file size. Choosing G4 is ideal for black and white documents, whereas PGM retains detailed grayscale information.
Keep source PGM files under 25–50 MB for single-page scans to ensure fast processing; larger files may be split or downsampled before conversion.
To preserve detail when converting grayscale to bi-level, use adaptive thresholding or error-diffusion dithering rather than a single global threshold.
For multi-page documents, convert each PGM to a single-page G4 TIFF and then combine into a multi-page TIFF; batch tools speed up this workflow.
Note format limitation: G4 is strictly bi-level (1-bit) — smooth grayscale gradients and subtle shades will be lost unless dithered.
This converter made switching from PGM to G4 effortless and fast.
Emily R.
Photographer
Reliable and easy to use, a must-have tool for image format conversion.
Mark D.
IT Specialist
Great quality results with minimal file size, perfect for document archiving.
Lisa M.
Office Manager
Start your free PGM to G4 conversion now.
Drag your file here to to upload.
Up to 250MB
If you need OCR after conversion, choose higher DPI (300–400) and minimal aggressive dithering to keep character shapes legible.