+2010-09-18 6.6.4-4 Cristy <quetzlzacatenango@image...>
+ * Automatically set the quantum depth to 16 for HDRI.
+
2010-09-16 6.6.4-2 Cristy <quetzlzacatenango@image...>
* IPTC profile not always wrapped properly inside an 8BIM profile.
* TIFF tile geometry must be divisible by 16.
64 ) ;;
* ) as_fn_error 16 "\"Pixel quantum depth must have value of 8" "$LINENO" 5 ;;
esac
+if test "$enable_hdri" = 'yes'; then
+ with_quantum_depth=16
+fi
QUANTUM_DEPTH="$with_quantum_depth"
cat >>confdefs.h <<_ACEOF
16 ) ;;
32 ) ;;
64 ) ;;
- * ) AC_MSG_ERROR("Pixel quantum depth must have value of 8, 16, or 32") ;;
+ * ) AC_MSG_ERROR("Pixel quantum depth must have value of 8, 16, 32, or 64") ;;
esac
+if test "$enable_hdri" = 'yes'; then
+ with_quantum_depth=16
+fi
QUANTUM_DEPTH="$with_quantum_depth"
AC_DEFINE_UNQUOTED(QUANTUM_DEPTH,$QUANTUM_DEPTH,[Number of bits in a pixel Quantum (8/16/32/64)])
AC_SUBST(QUANTUM_DEPTH)dnl
#if !defined(MAGICKCORE_QUANTUM_DEPTH)
#define MAGICKCORE_QUANTUM_DEPTH 16
#endif
-#if defined(MAGICKCORE_HDRI_SUPPORT)
-#define MAGICKCORE_QUANTUM_DEPTH 16
-#endif
#if defined(MAGICKCORE_WINDOWS_SUPPORT) && !defined(__MINGW32__)
# define MagickLLConstant(c) (MagickOffsetType) (c ## i64)