This is a real puzzler - I have read a 200 dpi 1-bit raster image from disk and plan to rotate it 90 degrees. I allocate the target NSBitmapImageRep and get pointer to the source and destination image data. After the rotation (seems to) complete, the destination image is blank (no pixels moved). In the Console, NSBitmapImageRep has output an error:
Failed to extract pixel data from NSBitmapImageRep. Error: -21778
No idea what this error code is or what it might be talking about. Anyone have a clue or know the definition of this error?