I am developing an application to draw and process specific image format not currently supported by the NSimage class. In this specific format, the images are in form of a 1D binary table preceded by an ASCII header which describe the data (number dimension, image size, bit per pixel, ...).
I read in the Coco Drawing Guide that it is possible to create new image representation. I am new in Coca and Objectiv-C programming and, on this topic, I find the Coco Drawing Guide explanation very short and not so helpfull to me. I am now interested in getting more detail with some example code on how to create new image representation. Also I am particularly interested in understanding how to overwrite the initWithData and Draw method in order Cocoa application correctly interpret the new image representation.
Does any know share with me a link where the method is described in more detail ?