Convert PNM to CALS

Turn PNM images into CALS. A CALS Type 1 raster in black and white at the same size, compressed with CCITT Group 4; colors and grays are dithered and transparent areas become white.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop PNM files on the dialor turn it to pick what to do

A black and white CALS raster of your image.Same width and height, compressed with CCITT Group 4.

  1. What you get

    One CALS Type 1 raster file. It is black and white, the same width and height as the PNM image, and compressed with CCITT Group 4.

    CALS is the format of scanned engineering drawings and technical manuals in defense and government archives. The file is made for those archives.

  2. What changes

    CALS Type 1 holds only black and white. Colors and grays in the PNM file are dithered, so they become patterns of black and white dots. Tones are not kept as they were.

    Transparent areas become white.

  3. Going the other way

    To turn a CALS file back into a PNM image, use CALS to PNM. The page every CALS conversion lists the other conversions that start or end with CALS.

PNM and CALS.What each format is.

The formats

From · PNM

Portable Anymap

Portable anymap images, the simplest raster format: PBM, PGM and PPM.

Extensions
.pnm .ppm .pgm .pbm
MIME type
image/x-portable-anymap
Kind
Images
To · CALS

CALS Raster

CALS Type 1 raster, the black and white Group 4 scans of engineering drawings and technical manuals in defense and government archives.

Extensions
.cal .cals
MIME type
image/x-cals
Kind
Images

In your code.The same PNM to CALS conversion through the API, for your app or your agent.

terminal
$ cv convert photo.pnm photo.cal
$ cv convert photo.pnm photo.cal

Questions.What people ask about PNM to CALS.

01OF 04

No. CALS Type 1 is black and white, so colors and grays are dithered into black and white dots.

Yes. The width and height stay the same.

They become white.

The PNM format covers PBM, PGM and PPM images. Each is converted to one CALS file.

More conversions.Other ways in and out of PNM and CALS.