Convert XPM to CALS
Turn XPM 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 XPM files on the dialor turn it to pick what to do
A black and white CALS raster of your XPM.Same width and height, compressed with CCITT Group 4.
What you get
A CALS Type 1 raster, the black and white format used for scans of engineering drawings and technical manuals in defense and government archives. The image keeps the same width and height as the XPM. One XPM gives one file.
The pixels are compressed with CCITT Group 4, the compression CALS Type 1 uses.
What changes
CALS Type 1 holds only black and white, so colors and grays are dithered. The picture is rebuilt from black and white dots that stand in for the original shades.
Transparent areas become white.
Going the other way
To turn a CALS file back into an XPM, use CALS to XPM. For other targets, see every XPM conversion.
XPM and CALS.What each format is.
The formats
X PixMap
X PixMap, images as C source.
- Extensions
- .xpm
- MIME type
- image
/x -xpixmap - Kind
- Images
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 XPM to CALS conversion through the API, for your app or your agent.
$ cv convert photo.xpm photo.cal$ cv convert photo.xpm photo.calQuestions.What people ask about XPM to CALS.
No. Colors and grays are dithered into black and white dots, so the shades are approximated, not kept.
No. The CALS raster has the same width and height as the XPM.
They become white.
CCITT Group 4.