index of matte color in palette
Posted: 2006-07-20T08:24:02-07:00
Does anyone have a quick way of finding the index of the matte color in the palette? I could always loop through the entire color palette to find which index holds the matte color, but I was wondering if there is a C++ API function.
I have a 256 color image, with a transparent color. I'm using matteColor() to get the color, but I'd like to now get the index number from the palette.
Thanks,
sanderton
I have a 256 color image, with a transparent color. I'm using matteColor() to get the color, but I'd like to now get the index number from the palette.
Thanks,
sanderton