Commit f575d2e9 authored by cristy's avatar cristy

git-svn-id:...

git-svn-id: https://subversion.imagemagick.org/subversion/ImageMagick/trunk@2665 aa41f4f7-0bf4-0310-aa73-e5a19afd5a74
parent 58fd8013
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.
......
......@@ -20205,6 +20205,9 @@ case "${with_quantum_depth}" in
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
......@@ -667,8 +667,11 @@ case "${with_quantum_depth}" in
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
......
......@@ -27,9 +27,6 @@ extern "C" {
#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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment