Hi,
I am using Carbon for my lanaguage and I am unable to use Cocoa. Does anyone know how I can convert the bitmap data returned as shown below to a TIFF format in a CFDataRef variable?
Thanks
I am using Carbon for my lanaguage and I am unable to use Cocoa. Does anyone know how I can convert the bitmap data returned as shown below to a TIFF format in a CFDataRef variable?
Code:
void *data = CGBitmapContextGetData (cgctx);
//how can I now take the bitmap data from the variable data
//and convert it to a CFDataRef in a TIFF format?
Thanks