Merge branch '8.8'

This commit is contained in:
John Cupitt 2019-11-26 09:15:39 +00:00
commit 49a8f0779d
3 changed files with 19 additions and 5 deletions

View File

@ -27,6 +27,7 @@
- support TIFF with premultiplied alpha in any band - support TIFF with premultiplied alpha in any band
17/9/19 started 8.8.4 17/9/19 started 8.8.4
- improve compatibility with older imagemagick versions
31/8/19 started 8.8.3 31/8/19 started 8.8.3
- revert sharpen restoring the input colourspace - revert sharpen restoring the input colourspace

View File

@ -721,6 +721,16 @@ if test x"$magick6" = x"yes"; then
] ]
) )
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM(
[#include <magick/api.h>],
[ColorspaceType colorspace = HCLpColorspace]
)],
[AC_DEFINE(HAVE_HCLPCOLORSPACE,1,
[define if your Magick has HCLpColorspace.])
]
)
# GetImageMagick() takes two args under GM, three under IM # GetImageMagick() takes two args under GM, three under IM
AC_COMPILE_IFELSE( AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM( [AC_LANG_PROGRAM(

View File

@ -577,21 +577,24 @@ static MagickColorspaceTypeNames magick_colorspace_names[] = {
#ifdef HAVE_CMYCOLORSPACE #ifdef HAVE_CMYCOLORSPACE
{ CMYColorspace, "CMYColorspace" }, { CMYColorspace, "CMYColorspace" },
{ HCLColorspace, "HCLColorspace" }, { HCLColorspace, "HCLColorspace" },
{ HCLpColorspace, "HCLpColorspace" },
{ HSBColorspace, "HSBColorspace" }, { HSBColorspace, "HSBColorspace" },
{ LabColorspace, "LabColorspace" },
{ LogColorspace, "LogColorspace" },
{ LuvColorspace, "LuvColorspace" },
#endif /*HAVE_CMYCOLORSPACE*/
#ifdef HAVE_HCLPCOLORSPACE
{ HCLpColorspace, "HCLpColorspace" },
{ HSIColorspace, "HSIColorspace" }, { HSIColorspace, "HSIColorspace" },
{ HSVColorspace, "HSVColorspace" }, { HSVColorspace, "HSVColorspace" },
{ LabColorspace, "LabColorspace" },
{ LCHColorspace, "LCHColorspace" }, { LCHColorspace, "LCHColorspace" },
{ LCHabColorspace, "LCHabColorspace" }, { LCHabColorspace, "LCHabColorspace" },
{ LCHuvColorspace, "LCHuvColorspace" }, { LCHuvColorspace, "LCHuvColorspace" },
{ LogColorspace, "LogColorspace" },
{ LMSColorspace, "LMSColorspace" }, { LMSColorspace, "LMSColorspace" },
{ LuvColorspace, "LuvColorspace" },
{ scRGBColorspace, "scRGBColorspace" }, { scRGBColorspace, "scRGBColorspace" },
{ xyYColorspace, "xyYColorspace" }, { xyYColorspace, "xyYColorspace" },
{ YDbDrColorspace, "YDbDrColorspace" }, { YDbDrColorspace, "YDbDrColorspace" },
#endif /*HAVE_CMYCOLORSPACE*/ #endif /*HAVE_HCLPCOLORSPACE*/
/* im7 has this, I think /* im7 has this, I think
* *