diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-09-01 13:56:46 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-09-01 13:56:46 +0200 |
commit | 22f703cab05b7cd368f4de9e03991b7664dc5022 (patch) | |
tree | 6f4d50beaa42328e24b1c6b56b6ec059e4ef21a5 /xicc/xutils.h |
Initial import of argyll version 1.5.1-8debian/1.5.1-8
Diffstat (limited to 'xicc/xutils.h')
-rw-r--r-- | xicc/xutils.h | 69 |
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 */ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + |