Home | History | Annotate | Download | only in MagickCore

Lines Matching refs:exception

58 #include "MagickCore/exception.h"
59 #include "MagickCore/exception-private.h"
167 % const size_t height,const double bias,ExceptionInfo *exception)
179 % o exception: return any errors or warnings in this structure.
184 ExceptionInfo *exception)
214 assert(exception != (ExceptionInfo *) NULL);
215 assert(exception->signature == MagickCoreSignature);
217 exception);
220 status=SetImageStorageClass(threshold_image,DirectClass,exception);
232 image_view=AcquireVirtualCacheView(image,exception);
233 threshold_view=AcquireAuthenticCacheView(threshold_image,exception);
263 (height/2L),image->columns+width,height,exception);
265 1,exception);
340 if (SyncCacheViewAuthenticPixels(threshold_view,exception) == MagickFalse)
392 % ExceptionInfo *exception)
400 % o exception: return any errors or warnings in this structure.
407 ExceptionInfo *exception)
427 if (SetImageStorageClass(image,DirectClass,exception) == MagickFalse)
430 (void) SetImageColorspace(image,sRGBColorspace,exception);
436 image_view=AcquireAuthenticCacheView(image,exception);
451 q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception);
483 if (SyncCacheViewAuthenticPixels(image_view,exception) == MagickFalse)
522 % const char *threshold,ExceptionInfo *exception)
530 % o exception: return any errors or warnings in this structure.
534 const char *thresholds,ExceptionInfo *exception)
565 if (SetImageStorageClass(image,DirectClass,exception) == MagickFalse)
568 (void) SetImageColorspace(image,sRGBColorspace,exception);
602 image_view=AcquireAuthenticCacheView(image,exception);
617 q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception);
650 if (SyncCacheViewAuthenticPixels(image_view,exception) == MagickFalse)
688 % MagickBooleanType ClampImage(Image *image,ExceptionInfo *exception)
694 % o exception: return any errors or warnings in this structure.
698 MagickExport MagickBooleanType ClampImage(Image *image,ExceptionInfo *exception)
735 return(SyncImage(image,exception));
742 image_view=AcquireAuthenticCacheView(image,exception);
757 q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception);
783 if (SyncCacheViewAuthenticPixels(image_view,exception) == MagickFalse)
856 % ExceptionInfo *exception)
862 % o exception: return any errors or warnings in this structure.
866 ExceptionInfo *exception)
871 map=GetThresholdMapFile(MinimalThresholdMap,"built-in",map_id,exception);
882 options=GetConfigureOptions(ThresholdsFilename,exception);
887 GetStringInfoPath(option),map_id,exception);
916 % const char *map_id,ExceptionInfo *exception)
926 % o exception: return any errors or warnings in this structure.
930 const char *map_id,ExceptionInfo *exception)
957 thresholds=NewXMLTree(xml,exception);
979 (void) ThrowMagickException(exception,GetMagickModule(),OptionError,
987 (void) ThrowMagickException(exception,GetMagickModule(),OptionError,
1007 (void) ThrowMagickException(exception,GetMagickModule(),OptionError,
1016 (void) ThrowMagickException(exception,GetMagickModule(),OptionError,
1025 (void) ThrowMagickException(exception,GetMagickModule(),OptionError,
1034 (void) ThrowMagickException(exception,GetMagickModule(),OptionError,
1043 (void) ThrowMagickException(exception,GetMagickModule(),OptionError,
1052 (void) ThrowMagickException(exception,GetMagickModule(),OptionError,
1061 (void) ThrowMagickException(exception,GetMagickModule(),OptionError,
1076 (void) ThrowMagickException(exception,GetMagickModule(),OptionError,
1084 (void) ThrowMagickException(exception,GetMagickModule(),OptionError,
1097 (void) ThrowMagickException(exception,GetMagickModule(),OptionError,
1125 % const char *filename,ExceptionInfo *exception)
1135 % o exception: return any errors or warnings in this structure.
1139 const char *filename,ExceptionInfo *exception)
1155 thresholds=NewXMLTree(xml,exception);
1168 (void) ThrowMagickException(exception,GetMagickModule(),OptionError,
1177 (void) ThrowMagickException(exception,GetMagickModule(),OptionError,
1185 (void) ThrowMagickException(exception,GetMagickModule(),OptionError,
1214 % MagickBooleanType ListThresholdMaps(FILE *file,ExceptionInfo *exception)
1220 % o exception: return any errors or warnings in this structure.
1224 ExceptionInfo *exception)
1238 options=GetConfigureOptions(ThresholdsFilename,exception);
1246 GetStringInfoPath(option),exception);
1273 % const char *threshold_map,ExceptionInfo *exception)
1298 % o exception: return any errors or warnings in this structure.
1302 const char *threshold_map,ExceptionInfo *exception)
1337 assert(exception != (ExceptionInfo *) NULL);
1338 assert(exception->signature == MagickCoreSignature);
1355 map=GetThresholdMap(token,exception);
1358 (void) ThrowMagickException(exception,GetMagickModule(),OptionError,
1376 if (SetImageStorageClass(image,DirectClass,exception) == MagickFalse)
1380 image_view=AcquireAuthenticCacheView(image,exception);
1395 q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception);
1437 if (SyncCacheViewAuthenticPixels(image_view,exception) == MagickFalse)
1476 % ExceptionInfo *exception)
1484 % o exception: return any errors or warnings in this structure.
1501 const double epsilon,ExceptionInfo *exception)
1542 return(SyncImage(image,exception));
1549 image_view=AcquireAuthenticCacheView(image,exception);
1564 q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception);
1590 if (SyncCacheViewAuthenticPixels(image_view,exception) == MagickFalse)
1628 % const char *thresholds,ExceptionInfo *exception)
1637 % o exception: return any errors or warnings in this structure.
1641 const double min_threshold, const double max_threshold,ExceptionInfo *exception)
1672 assert(exception != (ExceptionInfo *) NULL);
1673 assert(exception->signature == MagickCoreSignature);
1674 if (SetImageStorageClass(image,DirectClass,exception) == MagickFalse)
1683 image_view=AcquireAuthenticCacheView(image,exception);
1702 q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception);
1739 if (SyncCacheViewAuthenticPixels(image_view,exception) == MagickFalse)
1779 % const char *threshold,ExceptionInfo *exception)
1787 % o exception: return any errors or warnings in this structure.
1791 const char *thresholds,ExceptionInfo *exception)
1822 if (SetImageStorageClass(image,DirectClass,exception) == MagickFalse)
1825 (void) TransformImageColorspace(image,sRGBColorspace,exception);
1859 image_view=AcquireAuthenticCacheView(image,exception);
1874 q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception);
1907 if (SyncCacheViewAuthenticPixels(image_view,exception) == MagickFalse)