--- IconFamily.m.orig 2005-06-13 00:31:03.000000000 +1000 +++ IconFamily.m 2014-07-17 12:20:12.000000000 +1000 @@ -1088,6 +1088,7 @@ if (((samplesPerPixel == 3) && (bitsPerPixel == 24)) || ((samplesPerPixel == 4) && (bitsPerPixel == 32))) { +#if 0 CGDirectPaletteRef cgPal; CGDeviceColor cgCol; @@ -1130,6 +1131,9 @@ } CGPaletteRelease(cgPal); +#endif + NSLog(@"get8BitDataFromBitmapImageRep:requiredPixelSize: returning NULL due to lack of CGDirectPaletteRef in this OS version"); + return NULL; } else {