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 : Thursday, December 21, 2006 5:04:31 AM(UTC)
Joris Arits

Groups: Registered
Posts: 2


I have an arraylist with images (System.drawing.Images). Each of these images are 24bpp with full color.
I need to save 1 arraylist to 1 file (so I'll need a multipage Tiff). But they also have to be compressed with Group4 compression.
I'm using C#.NET

I've been reading the documentation for some time now, but I can't figure out how to do this.
 

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 : Thursday, December 21, 2006 5:06:46 AM(UTC)
Joris Arits

Groups: Registered
Posts: 2


Sorry, this post should have been posted under "Example requests". My mistake...
 
#3 Posted : Friday, December 22, 2006 10:23:43 AM(UTC)

GregR  
GregR

Groups: Registered, Tech Support, Administrators
Posts: 764


If you are trying to go from a System.Drawing.Image object, you will need to create a byte array or MemoryStream and load it into a LEADTOOLS object that way. 

Once you have created a RasterImage (assuming you are using our .NET libraries), you can use the RasterCodecs.Save() method to save this to a file as a 1bpp Tiff CCITT Group 4 image.

As for combining them into a multipage image, you can either use the Append Save mode when saving the image, or use the RasterImage.AddPage method and then call Rastercodecs.Save only once for the multipage RasterImage object.
 
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.056 seconds.