fix magick gif optimisation
defines were misspelt
This commit is contained in:
parent
dd9eba9e26
commit
7987cf63c3
@ -477,7 +477,7 @@ magick_set_number_scenes( ImageInfo *image_info, int scene, int number_scenes )
|
|||||||
int
|
int
|
||||||
magick_optimize_image_layers( Image **images, ExceptionInfo *exception )
|
magick_optimize_image_layers( Image **images, ExceptionInfo *exception )
|
||||||
{
|
{
|
||||||
#ifdef HAS_OPTIMIZEPLUSIMAGELAYERS
|
#ifdef HAVE_OPTIMIZEPLUSIMAGELAYERS
|
||||||
Image *tmp;
|
Image *tmp;
|
||||||
|
|
||||||
tmp = OptimizePlusImageLayers(*images, exception );
|
tmp = OptimizePlusImageLayers(*images, exception );
|
||||||
@ -490,25 +490,25 @@ magick_optimize_image_layers( Image **images, ExceptionInfo *exception )
|
|||||||
*images = tmp;
|
*images = tmp;
|
||||||
|
|
||||||
return MagickTrue;
|
return MagickTrue;
|
||||||
#else
|
#else /*!HAVE_OPTIMIZEPLUSIMAGELAYERS*/
|
||||||
g_warning( "%s", _( "layers optimization is not supported by your version "
|
g_warning( "%s", _( "layer optimization is not supported by "
|
||||||
"of libMagick" ) );
|
"your version of libMagick" ) );
|
||||||
return MagickTrue;
|
return MagickTrue;
|
||||||
#endif
|
#endif /*HAVE_OPTIMIZEPLUSIMAGELAYERS*/
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
magick_optimize_image_transparency( const Image *images,
|
magick_optimize_image_transparency( const Image *images,
|
||||||
ExceptionInfo *exception )
|
ExceptionInfo *exception )
|
||||||
{
|
{
|
||||||
#ifdef HAS_OPTIMIZEIMAGETRANSPARENCY
|
#ifdef HAVE_OPTIMIZEIMAGETRANSPARENCY
|
||||||
OptimizeImageTransparency(images, exception);
|
OptimizeImageTransparency(images, exception);
|
||||||
return ( exception->severity == UndefinedException );
|
return ( exception->severity == UndefinedException );
|
||||||
#else
|
#else /*!HAVE_OPTIMIZEIMAGETRANSPARENCY*/
|
||||||
g_warning( "%s", _( "transparency optimization is not supported by your "
|
g_warning( "%s", _( "transparency optimization is not supported by "
|
||||||
"version of libMagick" ) );
|
"your version of libMagick" ) );
|
||||||
return MagickTrue;
|
return MagickTrue;
|
||||||
#endif
|
#endif /*HAVE_OPTIMIZEIMAGETRANSPARENCY*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Does a few bytes look like a file IM can handle?
|
/* Does a few bytes look like a file IM can handle?
|
||||||
|
Loading…
Reference in New Issue
Block a user