summaryrefslogtreecommitdiff
path: root/codec/convert.h
diff options
context:
space:
mode:
authorParvatha Elangovan <p.elangovan@intopix.com>2007-02-28 15:31:56 +0000
committerParvatha Elangovan <p.elangovan@intopix.com>2007-02-28 15:31:56 +0000
commit192e46c32f7baededf8df7b1777f8c5409110e8a (patch)
tree6c02f445207de1af38390a47a7ec9f7aab1a1ea3 /codec/convert.h
parente5c5d1064ec154ebcf7d976b1070dd0da3d95ee4 (diff)
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
Diffstat (limited to 'codec/convert.h')
-rw-r--r--codec/convert.h3
1 files changed, 3 insertions, 0 deletions
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