Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, August 8, 2007 4:14:00 AM(UTC)

manju  
manju

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
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Friday, August 10, 2007 6:41:11 AM(UTC)

GregR  
GregR

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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.047 seconds.