incubator-sanselan-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anup Mistry" <>
Subject TIF multi-image?
Date Sun, 03 Aug 2008 13:25:18 GMT
Worked with Charles to write a BufferedImage into a .TIF file. This was with
a fix he had created after the 0.94 release. Thanks Charles!

Now I need to add more than one image to the .TIF file. This is needed for
document management software where a single document can be more than one
page, so its stored as a single file which makes it easier to index.

Think Sanselan should develop a feature something along the lines of then see method

public static void *createTIFFFromImages*(java.awt.image.BufferedImage[] images,
                                        int conversion,
                                        int compression,

 Creates a TIFF file from the specified images. Before the images are put
into the TIFF, you can optionally convert them to gray
reduce the file size. Also, you can set the compression algorithm for TIFF.

 *Parameters:* images - - list of images to be put into the TIFF file.
conversion - - converts the images into the specified format before putting
into the TIFF. compression - - compression algorithm used for TIFF. file - -
the TIFF file to be written to. *Throws:*

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message