Joe Lertola wrote: >> I have this function (below) that can create a variety of different >> CGBitmapContext color spaces. >> The function works perfectly when run with FB. All of the floating >> point and 64 bit color spaces give strange results when I run the >> program with FBtoC. > local fn MyCreateCGBitmapContext ( myWidth as long, height as long) > 'as CGContextRef What are your "strange results"? How sure are you that the right values are always assigned to the mysterious (presumably global --- ugh!) variables xBitsPerPixel, xBitsPerComponent and xPixelFormat. Robert P.