Lines Matching refs:exception
58 #include "MagickCore/exception.h"
59 #include "MagickCore/exception-private.h"
119 % const char *command,ExceptionInfo *exception)
129 % o exception: return any errors or warnings in this structure.
159 const char *command,char *message,ExceptionInfo *exception)
181 exception); \
186 (void) ThrowMagickException(exception,GetMagickModule(),DelegateError, \
278 (void) ThrowMagickException(exception,GetMagickModule(),
293 status=ExternalDelegateCommand(MagickFalse,verbose,command,message,exception);
351 % Image *ReadPDFImage(const ImageInfo *image_info,ExceptionInfo *exception)
357 % o exception: return any errors or warnings in this structure.
378 static Image *ReadPDFImage(const ImageInfo *image_info,ExceptionInfo *exception)
465 assert(exception != (ExceptionInfo *) NULL);
466 assert(exception->signature == MagickCoreSignature);
470 image=AcquireImage(image_info,exception);
471 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception);
480 ThrowFileException(exception,FileOpenError,"UnableToCreateTemporaryFile",
575 (void) SetImageProperty(image,property,value,exception);
580 (void) SetImageProperty(image,"pdf:Version",command,exception);
641 (void) SetImageProperty(image,"pdf:HiResBoundingBox",geometry,exception);
660 (void) ThrowMagickException(exception,GetMagickModule(),OptionError,
689 ThrowFileException(exception,FileOpenError,"UnableToCreateTemporaryFile",
700 delegate_info=GetDelegateInfo("ps:mono",(char *) NULL,exception);
703 delegate_info=GetDelegateInfo("ps:cmyk",(char *) NULL,exception);
705 delegate_info=GetDelegateInfo("ps:alpha",(char *) NULL,exception);
757 status=InvokePDFDelegate(read_info->verbose,command,message,exception);
765 read_info->filename,exception);
774 read_info->filename,exception);
779 next=ReadImage(read_info,exception);
789 (void) ThrowMagickException(exception,GetMagickModule(),DelegateError,
799 cmyk_image=ConsolidateCMYKImages(pdf_image,exception);
816 clone_image=CloneImage(pdf_image,1,1,MagickTrue,exception);
953 % Image *image,ExceptionInfo *exception)
961 % o exception: return any errors or warnings in this structure.
1122 Image *image,Image *inject_image,ExceptionInfo *exception)
1143 group4_image=CloneImage(inject_image,0,0,MagickTrue,exception);
1147 exception);
1159 ExceptionInfo *exception)
1300 assert(exception != (ExceptionInfo *) NULL);
1301 assert(exception->signature == MagickCoreSignature);
1302 status=OpenBlob(image_info,image,WriteBinaryBlobMode,exception);
1384 value=GetImageProperty(image,"date:modify",exception);
1388 value=GetImageProperty(image,"date:create",exception);
1457 if ((SetImageMonochrome(image,exception) == MagickFalse) ||
1466 (void) ThrowMagickException(exception,GetMagickModule(),
1476 (void) ThrowMagickException(exception,GetMagickModule(),
1486 (void) ThrowMagickException(exception,GetMagickModule(),
1508 (void) TransformImageColorspace(image,sRGBColorspace,exception);
1560 (void) ParseGravityGeometry(image,page_geometry,&page_info,exception);
1570 value=GetImageProperty(image,"label",exception);
1588 value=GetImageProperty(image,"label",exception);
1813 (SetImageGray(image,exception) != MagickFalse)))
1822 (void) HuffmanEncodeImage(image_info,image,image,exception);
1825 (void) Huffman2DEncodeImage(image_info,image,image,exception);
1830 status=InjectImageBlob(image_info,image,image,"jpeg",exception);
1840 status=InjectImageBlob(image_info,image,image,"jp2",exception);
1868 p=GetVirtualPixels(image,0,y,image->columns,1,exception);
1886 status=ZLIBEncodeImage(image,length,pixels,exception);
1890 status=LZWEncodeImage(image,length,pixels,exception);
1892 status=PackbitsEncodeImage(image,length,pixels,exception);
1909 p=GetVirtualPixels(image,0,y,image->columns,1,exception);
1939 status=InjectImageBlob(image_info,image,image,"jpeg",exception);
1949 status=InjectImageBlob(image_info,image,image,"jp2",exception);
1978 p=GetVirtualPixels(image,0,y,image->columns,1,exception);
2000 status=ZLIBEncodeImage(image,length,pixels,exception);
2004 status=LZWEncodeImage(image,length,pixels,exception);
2006 status=PackbitsEncodeImage(image,length,pixels,exception);
2023 p=GetVirtualPixels(image,0,y,image->columns,1,exception);
2076 p=GetVirtualPixels(image,0,y,image->columns,1,exception);
2094 status=ZLIBEncodeImage(image,length,pixels,exception);
2098 status=LZWEncodeImage(image,length,pixels,exception);
2100 status=PackbitsEncodeImage(image,length,pixels,exception);
2117 p=GetVirtualPixels(image,0,y,image->columns,1,exception);
2165 (SetImageGray(image,exception) != MagickFalse)))
2184 tile_image=ThumbnailImage(image,geometry.width,geometry.height,exception);
2273 (SetImageGray(tile_image,exception) != MagickFalse)))
2283 exception);
2286 (void) Huffman2DEncodeImage(image_info,image,tile_image,exception);
2292 exception);
2302 status=InjectImageBlob(image_info,image,tile_image,"jp2",exception);
2335 exception);
2347 status=ZLIBEncodeImage(image,length,pixels,exception);
2351 status=LZWEncodeImage(image,length,pixels,exception);
2353 status=PackbitsEncodeImage(image,length,pixels,exception);
2371 exception);
2395 exception);
2405 status=InjectImageBlob(image_info,image,tile_image,"jp2",exception);
2439 exception);
2454 status=ZLIBEncodeImage(image,length,pixels,exception);
2458 status=LZWEncodeImage(image,length,pixels,exception);
2460 status=PackbitsEncodeImage(image,length,pixels,exception);
2478 exception);
2531 exception);
2542 status=ZLIBEncodeImage(image,length,pixels,exception);
2546 status=LZWEncodeImage(image,length,pixels,exception);
2548 status=PackbitsEncodeImage(image,length,pixels,exception);
2566 exception);
2744 p=GetVirtualPixels(image,0,y,image->columns,1,exception);
2755 status=ZLIBEncodeImage(image,length,pixels,exception);
2759 status=LZWEncodeImage(image,length,pixels,exception);
2761 status=PackbitsEncodeImage(image,length,pixels,exception);
2778 p=GetVirtualPixels(image,0,y,image->columns,1,exception);
2880 (void) SignatureImage(image,exception);
2882 GetImageProperty(image,"signature",exception),
2883 GetImageProperty(image,"signature",exception));