OXPS to PGM Converter

Convert OXPS to PGM — free grayscale Netpbm output

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

Grayscale Pipeline

PGM integrates with Netpbm tools for grayscale image processing — lightweight and script-friendly.

Cloud Rendering

Processing happens on servers — no Netpbm installation required on your own device.

Simple Format

PGM is one of the simplest image formats — easy to parse, process, and integrate into any workflow.

How to convert OXPS 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

OXPS (Open XPS) is a fixed-layout document format standardized as ECMA-388 in June 2009, representing an evolution of Microsoft's original XPS specification. The format packages fixed-layout pages, fonts, images, and metadata in a ZIP-based Open Packaging Conventions container — the same packaging framework used by DOCX, XLSX, and other Office Open XML formats. Each page is described using an XML markup language that specifies paths, glyphs, images, and canvas elements with precise coordinates, producing documents that render identically regardless of the viewing device or printer. OXPS incorporated several changes from the original XPS: the use of JPEG XR for high dynamic range images, support for the Open Packaging Conventions 2nd edition, and alignment with the Ecma standardization process. Windows 8 and later generate OXPS (rather than XPS) when printing to the Microsoft XPS Document Writer. One advantage is standards-based document fidelity — as an Ecma standard, OXPS provides a vendor-neutral, fully specified format for documents that must look identical everywhere they are rendered, essential for legal filings, regulatory submissions, and archival records. The fixed-layout model is another strength: unlike reflowable formats, OXPS documents preserve exact page composition including precise glyph positioning and vector graphics. Built-in support in Windows and the .NET framework provides native viewing and creation capabilities without third-party software.
Developer: Ecma International
Initial release: June 2009
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 OXPS to PGM?

PGM is a grayscale Netpbm format — commonly used in image processing scripts and Unix-based workflows.

What opens PGM files?

Netpbm tools, GIMP, ImageMagick, and most Linux image viewers handle PGM files natively.

Is PGM grayscale only?

Yes — PGM stores only grayscale values. For color output, PPM is the Netpbm equivalent.

How fast is conversion?

Simple PGM format means fast conversion — ready in seconds on cloud servers.

Is it free?

Yes — free to convert. Premium plans handle larger volumes.

Can I batch convert?

Upload multiple OXPS files and produce PGM images from all of them simultaneously.