From 22f703cab05b7cd368f4de9e03991b7664dc5022 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 1 Sep 2014 13:56:46 +0200 Subject: Initial import of argyll version 1.5.1-8 --- xicc/xutils.h | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 xicc/xutils.h (limited to 'xicc/xutils.h') 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 */ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3