Lines Matching refs:exception
186 #include "MagickCore/exception.h"
187 #include "MagickCore/exception-private.h"
502 ExceptionInfo *exception)
515 exception);
518 (void) TransformImageColorspace(image,sRGBColorspace,exception);
519 if (AcquireImageColormap(image,cube_info->colors,exception) == MagickFalse)
530 (void) DitherImage(image,cube_info,exception);
540 image_view=AcquireAuthenticCacheView(image,exception);
562 exception);
632 if (SyncCacheViewAuthenticPixels(image_view,exception) == MagickFalse)
651 (void) GetImageQuantizeError(image,exception);
676 (void) SyncImage(image,exception);
679 (void) TransformImageColorspace((Image *) image,sRGBColorspace,exception);
735 % const Image *image,ExceptionInfo *exception)
759 const Image *image,ExceptionInfo *exception)
797 cube_info->quantize_info->colorspace,exception);
800 (void) TransformImageColorspace((Image *) image,sRGBColorspace,exception);
806 image_view=AcquireVirtualCacheView(image,exception);
815 p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception);
864 (void) ThrowMagickException(exception,GetMagickModule(),
922 p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception);
971 (void) ThrowMagickException(exception,GetMagickModule(),
1019 (void) TransformImageColorspace((Image *) image,sRGBColorspace,exception);
1189 % ExceptionInfo *exception)
1195 % o exception: return any errors or warnings in this structure.
1199 ExceptionInfo *exception)
1213 return(QuantizeImage(&quantize_info,image,exception));
1429 % ExceptionInfo *exception)
1437 % o exception: return any errors or warnings in this structure.
1501 ExceptionInfo *exception)
1524 image_view=AcquireAuthenticCacheView(image,exception);
1551 q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception);
1659 if (SyncCacheViewAuthenticPixels(image_view,exception) == MagickFalse)
1692 const size_t level,const unsigned int direction,ExceptionInfo *exception)
1700 exception);
1702 exception);
1704 exception);
1710 exception);
1712 exception);
1714 exception);
1720 exception);
1722 exception);
1724 exception);
1730 exception);
1732 exception);
1734 exception);
1746 exception);
1748 exception);
1750 exception);
1752 exception);
1754 exception);
1756 exception);
1758 exception);
1764 exception);
1766 exception);
1768 exception);
1770 exception);
1772 exception);
1774 exception);
1776 exception);
1782 exception);
1784 exception);
1786 exception);
1788 exception);
1790 exception);
1792 exception);
1794 exception);
1800 exception);
1802 exception);
1804 exception);
1806 exception);
1808 exception);
1810 exception);
1812 exception);
1821 CubeInfo *cube_info,const unsigned int direction,ExceptionInfo *exception)
1851 q=GetCacheViewAuthenticPixels(image_view,p->x,p->y,1,1,exception);
1911 if (SyncCacheViewAuthenticPixels(image_view,exception) == MagickFalse)
1940 ExceptionInfo *exception)
1955 return(FloydSteinbergDither(image,cube_info,exception));
1970 image_view=AcquireAuthenticCacheView(image,exception);
1972 Riemersma(image,image_view,cube_info,depth-1,NorthGravity,exception);
1973 status=RiemersmaDither(image,image_view,cube_info,ForgetGravity,exception);
2189 % ExceptionInfo *exception)
2195 % o exception: return any errors or warnings in this structure.
2199 ExceptionInfo *exception)
2223 image->total_colors=GetNumberColors(image,(FILE *) NULL,exception);
2233 image_view=AcquireVirtualCacheView(image,exception);
2242 p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception);
2335 % const DitherMethod dither_method,ExceptionInfo *exception)
2347 % o exception: return any errors or warnings in this structure.
2362 const DitherMethod dither_method,ExceptionInfo *exception)
2390 assert(exception != (ExceptionInfo *) NULL);
2391 assert(exception->signature == MagickCoreSignature);
2420 image_view=AcquireAuthenticCacheView(image,exception);
2435 q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception);
2457 if (SyncCacheViewAuthenticPixels(image_view,exception) == MagickFalse)
2479 status=QuantizeImage(quantize_info,image,exception);
2652 % Image *image,ExceptionInfo *exception)
2660 % o exception: return any errors or warnings in this structure.
2664 Image *image,ExceptionInfo *exception)
2682 assert(exception != (ExceptionInfo *) NULL);
2683 assert(exception->signature == MagickCoreSignature);
2691 if (SetImageGray(image,exception) != MagickFalse)
2692 (void) SetGrayscaleImage(image,exception);
2700 exception);
2719 if (SetImageGray(image,exception) != MagickFalse)
2729 status=ClassifyImageColors(cube_info,image,exception);
2740 status=AssignImageColors(image,cube_info,exception);
2766 % Image *images,ExceptionInfo *exception)
2774 % o exception: return any errors or warnings in this structure.
2778 Image *images,ExceptionInfo *exception)
2807 assert(exception != (ExceptionInfo *) NULL);
2808 assert(exception->signature == MagickCoreSignature);
2814 status=QuantizeImage(quantize_info,images,exception);
2844 (void) ThrowMagickException(exception,GetMagickModule(),
2854 status=ClassifyImageColors(cube_info,image,exception);
2875 status=AssignImageColors(image,cube_info,exception);
3141 % Image *image,const Image *remap_image,ExceptionInfo *exception)
3151 % o exception: return any errors or warnings in this structure.
3155 Image *image,const Image *remap_image,ExceptionInfo *exception)
3172 assert(exception != (ExceptionInfo *) NULL);
3173 assert(exception->signature == MagickCoreSignature);
3179 status=ClassifyImageColors(cube_info,remap_image,exception);
3186 status=AssignImageColors(image,cube_info,exception);
3210 % Image *images,Image *remap_image,ExceptionInfo *exception)
3220 % o exception: return any errors or warnings in this structure.
3224 Image *images,const Image *remap_image,ExceptionInfo *exception)
3239 assert(exception != (ExceptionInfo *) NULL);
3240 assert(exception->signature == MagickCoreSignature);
3247 status=QuantizeImages(quantize_info,images,exception);
3258 status=ClassifyImageColors(cube_info,remap_image,exception);
3268 status=AssignImageColors(image,cube_info,exception);
3294 % ExceptionInfo *exception)
3300 % o exception: return any errors or warnings in this structure.
3329 ExceptionInfo *exception)
3351 (void) TransformImageColorspace(image,GRAYColorspace,exception);
3361 if (AcquireImageColormap(image,MaxColormapSize,exception) == MagickFalse)
3366 image_view=AcquireAuthenticCacheView(image,exception);
3382 exception);
3414 if (SyncCacheViewAuthenticPixels(image_view,exception) == MagickFalse)
3442 image_view=AcquireAuthenticCacheView(image,exception);
3457 q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception);
3469 if (SyncCacheViewAuthenticPixels(image_view,exception) == MagickFalse)
3475 if (SetImageMonochrome(image,exception) != MagickFalse)