LEADTOOLS Support
Imaging
Imaging SDK Questions
Re: Save 24bpp image object to multipage Tiff group4
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Thursday, December 21, 2006 5:04:31 AM(UTC)
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.
#2
Posted
:
Thursday, December 21, 2006 5:06:46 AM(UTC)
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)
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.
LEADTOOLS Support
Imaging
Imaging SDK Questions
Re: Save 24bpp image object to multipage Tiff group4
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.