Convert CALS to XBM

Turn CALS images into XBM. An X11 bitmap in black and white only, written as C source text.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A CALS scan as an XBM bitmap.You get a black and white image written as C source text.

  1. What you get

    One XBM file, an X11 bitmap. It holds only black and white pixels, written out as C source text.

    The page is turned upright first, using the orientation stored in the CALS header. The XBM shows the drawing the way it is meant to be read.

  2. What it changes

    XBM has no gray and no color. The result is strictly black and white, which suits a CALS Type 1 scan, since those are black and white too.

    The file is text, not a compressed image. You can open it in a text editor or include it in a C program.

    To go the other way, use XBM to CALS.

CALS and XBM.What each format is.

The formats

From · 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
To · XBM

X BitMap

X BitMap, monochrome images as C source.

Extensions
.xbm
MIME type
image/x-xbitmap
Kind
Images

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

terminal
$ cv convert photo.cal photo.xbm
$ cv convert photo.cal photo.xbm

Questions.What people ask about CALS to XBM.

01OF 04

It is C source text that describes a black and white bitmap. XBM is a format for monochrome images.

Yes. The page is turned upright by the orientation in the CALS header before it is written out.

No. The XBM is black and white only.

One file for each conversion.

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