- 2013.10.28 09:38 "Re: [Tiff] Does TIFF support 15-bit (RGB555 or 5551) images?", by Joris Van Damme
- 2013.10.28 13:50 "Re: [Tiff] Does TIFF support 15-bit (RGB555 or 5551) images?", by Bob Friesenhahn
- 2013.10.28 22:37 "Re: [Tiff] Does TIFF support 15-bit (RGB555 or 5551) images?", by Nikos Chantziaras
2013.12.02 19:27 "Re: [Tiff] Tiff Digest, Vol 115, Issue 1", by Bob Friesenhahn
>
> BobYes, I reported the same error on November 12th. I would be interested to learn if you find a work-around/solution.
From looking at the problem code, it appears that defining HAVE_BOOLEAN while compiling libtiff (add CPPFLAGS=-DHAVE_BOOLEAN) should at least get libtiff to compile.
The next libjpeg adds new wrinkles since the library can be built with BITS_IN_JSAMPLE values of 8, 9, 10, 11, and 12. Currently libtiff only supports 8 and 12.
The problematic code from the development (9a) version still looks a bit fishy to me:
#ifndef HAVE_BOOLEAN
#if defined FALSE || defined TRUE || defined QGLOBAL_H /* Qt3 defines FALSE and TRUE as "const" variables in qglobal.h */ typedef int boolean;
#ifndef FALSE /* in case these macros already exist */
#define FALSE 0 /* values of boolean */
#endif
#ifndef TRUE
#define TRUE 1
#endif
#else
typedef enum { FALSE = 0, TRUE = 1 } boolean;
#endif
#endif
Bob
--
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/