Lines Matching refs:exception
60 #include "MagickCore/exception.h"
61 #include "MagickCore/exception-private.h"
129 *exception;
241 % ExceptionInfo *exception)
247 % o exception: return any errors or warnings in this structure.
319 *exception;
327 exception=error_manager->exception;
333 (void) ThrowMagickException(exception,GetMagickModule(),CorruptImageWarning,
336 (void) ThrowMagickException(exception,GetMagickModule(),CorruptImageError,
352 *exception;
359 exception=error_manager->exception;
392 *exception;
413 exception=error_manager->exception;
423 (void) ThrowMagickException(exception,GetMagickModule(),
437 (void) SetImageProperty(image,"comment",(const char *) p,exception);
451 *exception;
499 exception=error_manager->exception;
504 (void) ThrowMagickException(exception,GetMagickModule(),
521 status=SetImageProfile(image,"icc",profile,exception);
525 (void) ThrowMagickException(exception,GetMagickModule(),
545 *exception;
605 exception=error_manager->exception;
610 (void) ThrowMagickException(exception,GetMagickModule(),
627 status=SetImageProfile(image,"8bim",profile,exception);
631 (void) ThrowMagickException(exception,GetMagickModule(),
654 *exception;
688 exception=error_manager->exception;
693 (void) ThrowMagickException(exception,GetMagickModule(),
743 status=SetImageProfile(image,name,profile,exception);
747 (void) ThrowMagickException(exception,GetMagickModule(),
935 static void JPEGSetImageSamplingFactor(struct jpeg_decompress_struct *jpeg_info, Image *image,ExceptionInfo *exception)
994 exception);
1000 ExceptionInfo *exception)
1059 assert(exception != (ExceptionInfo *) NULL);
1060 assert(exception->signature == MagickCoreSignature);
1063 image=AcquireImage(image_info,exception);
1064 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception);
1080 error_manager.exception=exception;
1169 (void) ThrowMagickException(exception,GetMagickModule(),OptionError,
1240 (void) SetImageColorspace(image,sRGBColorspace,exception);
1245 (void) SetImageColorspace(image,GRAYColorspace,exception);
1250 (void) SetImageColorspace(image,YCbCrColorspace,exception);
1255 (void) SetImageColorspace(image,CMYKColorspace,exception);
1261 (void) SetImageColorspace(image,LabColorspace,exception);
1266 if (AcquireImageColormap(image,StringToUnsignedLong(option),exception)
1275 if (AcquireImageColormap(image,colors,exception) == MagickFalse)
1292 JPEGSetImageSamplingFactor(&jpeg_info,image,exception);
1295 (void) SetImageProperty(image,"jpeg:colorspace",value,exception);
1302 status=SetImageExtent(image,image->columns,image->rows,exception);
1371 (void) ThrowMagickException(exception,GetMagickModule(),
1376 q=QueueAuthenticPixels(image,0,y,image->columns,1,exception);
1393 index=(Quantum) ConstrainColormapIndex(image,pixel,exception);
1432 exception);
1465 if (SyncAuthenticPixels(image,exception) == MagickFalse)
1652 % Image *image,ExceptionInfo *exception)
1660 % o exception: return any errors or warnings in this structure.
1692 const char *slot,ExceptionInfo *exception)
1726 xml=FileToString(filename,~0UL,exception);
1729 quantization_tables=NewXMLTree(xml,exception);
1754 (void) ThrowMagickException(exception,GetMagickModule(),OptionError,
1763 (void) ThrowMagickException(exception,GetMagickModule(),OptionError,
1785 (void) ThrowMagickException(exception,GetMagickModule(),OptionError,
1795 (void) ThrowMagickException(exception,GetMagickModule(),OptionError,
1805 (void) ThrowMagickException(exception,GetMagickModule(),OptionError,
1815 (void) ThrowMagickException(exception,GetMagickModule(),OptionError,
1825 (void) ThrowMagickException(exception,GetMagickModule(),OptionError,
1835 (void) ThrowMagickException(exception,GetMagickModule(),OptionError,
1845 (void) ThrowMagickException(exception,GetMagickModule(),OptionError,
1874 (void) ThrowMagickException(exception,GetMagickModule(),OptionError,
2101 Image *image,ExceptionInfo *exception)
2157 assert(exception != (ExceptionInfo *) NULL);
2158 assert(exception->signature == MagickCoreSignature);
2161 image=AppendImages(image,MagickFalse,exception);
2162 status=OpenBlob(image_info,image,WriteBinaryBlobMode,exception);
2176 error_manager.exception=exception;
2221 (void) TransformImageColorspace(image,sRGBColorspace,exception);
2224 if (SetImageGray(image,exception) != MagickFalse)
2346 (void) ThrowMagickException(exception,GetMagickModule(),CoderWarning,
2380 jpeg_image=CloneImage(image,0,0,MagickTrue,exception);
2404 status=WriteJPEGImage(extent_info,jpeg_image,exception);
2444 value=GetImageProperty(image,"jpeg:colorspace",exception);
2452 value=GetImageProperty(image,"jpeg:sampling-factor",exception);
2519 table=GetQuantizationTable(option,"0",exception);
2528 table=GetQuantizationTable(option,"1",exception);
2537 table=GetQuantizationTable(option,"2",exception);
2546 table=GetQuantizationTable(option,"3",exception);
2675 value=GetImageProperty(image,"comment",exception);
2715 p=GetVirtualPixels(image,0,y,image->columns,1,exception);
2742 p=GetVirtualPixels(image,0,y,image->columns,1,exception);
2767 p=GetVirtualPixels(image,0,y,image->columns,1,exception);
2803 p=GetVirtualPixels(image,0,y,image->columns,1,exception);
2830 p=GetVirtualPixels(image,0,y,image->columns,1,exception);
2856 p=GetVirtualPixels(image,0,y,image->columns,1,exception);