Last updated at 3:24 pm UTC on 24 October 2017
ckformat is a utility program for testing the image format number of an image file.
The source code for ckformat is written in Smalltalk in class ImageFormat The Smalltalk source is translated to C and compiled on the target platform.
An up to date executable copy of ckformat is provided in the library directory of a standard interpreter VM. Instructions for compiling the VM, including ckformat, are in VM Recipe: How to build an interpreter VM on Linux.
It is also possible to generate the C source for ckformat by loading the ImageFormat package (VMMaker is not required) and evaluating: