initial empty check-in
AMG crimp initial commit
Create new branch named "ak-experimental"
Separate demo from package. Using 8.5+img::png for the PNG handling. A local critcl v2 is used. Crash in <crimp matrix>.
Added critcl code to enable debugging.

Stacktrace for crash is

#0  0x008fb8ac in memcpy () from /lib/libc.so.6
#1  0x001dd959 in Tcl_SetByteArrayObj () from /home/andreask/Abuild/lib/libtcl8.5.so
#2  0x001dd8b1 in Tcl_NewByteArrayObj () from /home/andreask/Abuild/lib/libtcl8.5.so
#3  0x001dd8e4 in Tcl_DbNewByteArrayObj () from /home/andreask/Abuild/lib/libtcl8.5.so
#4  0x007ed427 in c__crimp_matrix (interp=0x856e790, imageObj=0x88f9330, matrixObj=0x88d2e18) at matrix.crimp:59
#5  0x007ed8b6 in tcl__crimp_matrix (cd=0x0, ip=0x856e790, oc=3, ov=0x8732648) at matrix.crimp:112

Relevant code is:
Tcl_Obj *dataObj = Tcl_NewByteArrayObj(NULL, 4 * w * h);
in matrix.crimp.

This doesn't work with Tcl 8.5.7.
Has this changed in 8.6 ?
Started on my framework. Bottom: image types, and Tcl_ObjType for them (type tag strings at Tcl level)
Switch demo to Tcl/Tk 8.6+, avoid the crash in 8.5
Next in the framework, image structures and Tcl_ObjType.
Added a grey32 image type
First macros for pixel access, hiding the address arithmetic
Added protections against multiple inclusion, added math helper macros, and commentary
Added protections against multiple inclusion
Added protections against multiple inclusion, and constified the use of image type structures to better match image_type.h APIs
Implemented the string rep for crimp_images, with borrowing from tclBinary (UpdateStringOfByteArray)
More constification of crimp_imagetype
Added accessor methods for parts of an image intrep, to allow users to avoid shimmering
Bugfixes in the ObjTypes. StringOfImage completeley redone, was missing list-quoting of the bytearray
Added my variant of the import command, separate to allow comparison
Added macros to support assertions
Added my command for writing to a tk photo image