From 192e46c32f7baededf8df7b1777f8c5409110e8a Mon Sep 17 00:00:00 2001 From: Parvatha Elangovan Date: Wed, 28 Feb 2007 15:31:56 +0000 Subject: Enabled compression of TIF image format to j2k by tifftoimage() and decompression of codestream to TIF image format using imagetotif(). Modifications in image_to_j2k.c, j2k_to_image.c, convert.c, convert.h --- codec/convert.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'codec/convert.h') diff --git a/codec/convert.h b/codec/convert.h index 95c3b357..68aed4b3 100644 --- a/codec/convert.h +++ b/codec/convert.h @@ -35,6 +35,9 @@ opj_image_t* bmptoimage(const char *filename, opj_cparameters_t *parameters); int imagetobmp(opj_image_t *image, const char *outfile); +/* TIFF to image conversion*/ +opj_image_t* tiftoimage(const char *filename, opj_cparameters_t *parameters); +int imagetotif(opj_image_t *image, const char *outfile); /** Load a single image component encoded in PGX file format @param filename Name of the PGX file to load -- cgit v1.2.3