/*********************************************************/ /* This source code copyright (c) 1991-2001, Aaron Giles */ /* See the Read Me file for licensing information. */ /* Contact email: mac@aarongiles.com */ /*********************************************************/ #ifndef __QUANTIZE__ #define __QUANTIZE__ extern OSErr DoQuantize(ImageHandle theImage, long numColors, PaletteHandle *thePalette, NestedProgressPtr progProc); extern OSErr QuantizeFromHistogram(Handle theHistogram, long numColors, PaletteHandle *thePalette); extern OSErr ShrinkGWorld(ImageHandle theImage); extern void FillHistogram(PixMapPtr thePixMap); #endif