This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Wednesday, August 8, 2007 4:14:00 AM(UTC)
Groups: Registered
Posts: 49
Hi,
How to set bitsPerPixel property of an image and i dont want to use RasterCodecs to load image, I am using Ladtools 15 and C# .net.
Please reply soon.
Thanks
Manju
#2
Posted
:
Friday, August 10, 2007 6:41:11 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 764
Do you want to change the BPP of a file or of the RasterImage?
If the file then you will need to save the RasterImage using the RasterCodecs class.
If just the RasterImage, then you will need to use the ColorResolutionCommand class to convert the image to the desired bpp.
To load an image without RasterCodecs, you will need to use the RasterImage constructor which takes a System.Drawing.Image object. For loading and saving the Image, you will need to consult Microsoft for help.
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.