LEADTOOLS Support
Imaging
Imaging SDK Questions
Color Image to 4 bit GrayScale Image, 4 bit Pallete Color Image, 8 bit Pallete Color Image
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Thursday, January 21, 2010 12:56:56 AM(UTC)
Groups: Registered
Posts: 7
hey,
im using LeadTools v 16.5, .net classes VS 2008,
i want to convert color image to 4 bit GrayScale image, 4 bit Pallete Color Image, 8 bit Pallete Color Image
Please help me ASAP
#2
Posted
:
Thursday, January 21, 2010 8:56:29 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
You can create a 4-bit Grayscale image as follows:
Use the GrayscaleCommand Class and convert the image to 8-bit grayscale, then use the ColorResolutionCommand Class to convert the image to 4-Bit and set the ColorResolutionCommand.PaletteFlags Property to ColorResolutionCommandPaletteFlags.Optimized.
For the 4 and 8 bit colored images, use the ColorResolutionCommand Class to convert the image to 4 or 8 Bit and set the ColorResolutionCommand.PaletteFlags Property to ColorResolutionCommandPaletteFlags.Optimized.
LEADTOOLS Support
Imaging
Imaging SDK Questions
Color Image to 4 bit GrayScale Image, 4 bit Pallete Color Image, 8 bit Pallete Color Image
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.