summaryrefslogtreecommitdiff
path: root/xicc/xutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'xicc/xutils.h')
-rw-r--r--xicc/xutils.h69
1 files changed, 69 insertions, 0 deletions
diff --git a/xicc/xutils.h b/xicc/xutils.h
new file mode 100644
index 0000000..27de570
--- /dev/null
+++ b/xicc/xutils.h
@@ -0,0 +1,69 @@
+#ifndef XUTILS_H
+#define XUTILS_H
+
+/*
+ * xicc standalone utilities.
+ *
+ * Author: Graeme W. Gill
+ * Date: 28/6/00
+ * Version: 1.00
+ *
+ * Copyright 2000 - 2006 Graeme W. Gill
+ * All rights reserved.
+ * This material is licenced under the GNU AFFERO GENERAL PUBLIC LICENSE Version 3 :-
+ * see the License.txt file for licencing details.
+ *
+ * Based on the old iccXfm class.
+ */
+
+/*
+ * These utilities, while living in xicc, are meant to
+ * not depend on other modules.
+ */
+
+/* Return a lut resolution given the input dimesion and quality */
+/* Input dimension [0-8], quality: low, medium, high, very high. */
+/* A returned value of 0 indicates illegal. */
+int dim_to_clutres(int dim, int quality);
+
+
+/* Open an ICC file or a TIFF or JPEG file with an embedded ICC profile for reading. */
+/* Return NULL on error */
+icc *read_embedded_icc(char *file_name);
+
+#endif /* XUTILS_H */
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+