Changing bit depth
Posted: Tue Aug 02, 2016 2:30 pm
Hello,
I looking for an equivalent of LeadTools command "ColorResolutionCommand".
This function is used to change the bits per pixel of an image.
Is it possible with GDPicture ?
Here is the LeadTools call:
ColorResolutionCommand cmd = new ColorResolutionCommand();
cmd.Mode = ColorResolutionCommandMode.InPlace;
cmd.BitsPerPixel = 24;
cmd.Order = RasterByteOrder.Bgr;
cmd.DitheringMethod = RasterDitheringMethod.None;
cmd.PaletteFlags = ColorResolutionCommandPaletteFlags.None;
cmd.SetPalette(null);
Thanks
Frédéric
I looking for an equivalent of LeadTools command "ColorResolutionCommand".
This function is used to change the bits per pixel of an image.
Is it possible with GDPicture ?
Here is the LeadTools call:
ColorResolutionCommand cmd = new ColorResolutionCommand();
cmd.Mode = ColorResolutionCommandMode.InPlace;
cmd.BitsPerPixel = 24;
cmd.Order = RasterByteOrder.Bgr;
cmd.DitheringMethod = RasterDitheringMethod.None;
cmd.PaletteFlags = ColorResolutionCommandPaletteFlags.None;
cmd.SetPalette(null);
Thanks
Frédéric