05-03-2010 05:00 AM
is it possible to create 8-bit grayscale images on a BlackBerry?
Right now I'm using VideoControl.getSnapshot() to get a camera snapshot which results in a 24-bit RGB image being created. Grayscaling this image and saving it results in a 24-bit grayscale image which, when saved to a file, takes more space on the SD Card than the original, colored image.
I also tried to use a ImageFormatControl to check if the BlackBerry supports the "image/raw" type with a PARAM_VERSION_TYPE of "gray8". Looks like at least the 9700 doesn't support that one.
So, does anyone have any suggestions?