Home | History | Annotate | Download | only in MagickCore

Lines Matching refs:exception

67 #include "MagickCore/exception.h"
68 #include "MagickCore/exception-private.h"
144 % Image *AcquireImage(const ImageInfo *image_info,ExceptionInfo *exception)
152 % o exception: return any errors or warnings in this structure.
156 ExceptionInfo *exception)
200 exception);
202 &image->background_color,exception);
204 exception);
206 &image->transparent_color,exception);
292 (void) SyncImageSettings(image_info,image,exception);
376 % ExceptionInfo *exception)
386 % o exception: return any errors or warnings in this structure.
390 ExceptionInfo *exception)
399 image->next=AcquireImage(image_info,exception);
436 % ExceptionInfo *exception)
444 % o exception: return any errors or warnings in this structure.
448 const MagickBooleanType stack,ExceptionInfo *exception)
491 assert(exception != (ExceptionInfo *) NULL);
492 assert(exception->signature == MagickCoreSignature);
520 append_image=CloneImage(images,width,height,MagickTrue,exception);
523 if (SetImageStorageClass(append_image,DirectClass,exception) == MagickFalse)
530 (void) SetImageBackgroundColor(append_image,exception);
535 append_view=AcquireAuthenticCacheView(append_image,exception);
550 image_view=AcquireVirtualCacheView(next,exception);
574 p=GetCacheViewVirtualPixels(image_view,0,y,next->columns,1,exception);
576 next->columns,1,exception);
597 sync=SyncCacheViewAuthenticPixels(append_view,exception);
636 % sequence, otherwise it determines the most severe exception and reports
651 *exception;
660 exception=AcquireExceptionInfo();
661 CatchException(exception);
662 severity=exception->severity;
663 exception=DestroyExceptionInfo(exception);
685 % const MagickBooleanType inside,ExceptionInfo *exception)
697 % o exception: return any errors or warnings in this structure.
701 MagickExport MagickBooleanType ClipImage(Image *image,ExceptionInfo *exception)
703 return(ClipImagePath(image,"#1",MagickTrue,exception));
707 const MagickBooleanType inside,ExceptionInfo *exception)
731 value=GetImageProperty(image,property,exception);
735 ThrowFileException(exception,OptionError,"NoClipPathDefined",
744 clip_mask=BlobToImage(image_info,value,strlen(value),exception);
750 (void) SyncImage(clip_mask,exception);
751 if (SetImageStorageClass(clip_mask,DirectClass,exception) == MagickFalse)
755 (void) NegateImage(clip_mask,MagickFalse,exception);
758 (void) SetImageMask(image,ReadPixelMask,clip_mask,exception);
780 % failure, a NULL image is returned and exception describes the reason for the
787 % ExceptionInfo *exception)
800 % o exception: return any errors or warnings in this structure.
804 const size_t rows,const MagickBooleanType detach,ExceptionInfo *exception)
822 assert(exception != (ExceptionInfo *) NULL);
823 assert(exception->signature == MagickCoreSignature);
826 (void) ThrowMagickException(exception,GetMagickModule(),CorruptImageError,
919 if (SetImageExtent(clone_image,columns,rows,exception) == MagickFalse)
1033 % ExceptionInfo *exception);
1045 % o exception: return any errors or warnings in this structure.
1050 const OffsetInfo *offset,ExceptionInfo *exception)
1078 if (SetImageStorageClass(image,DirectClass,exception) == MagickFalse)
1085 source_view=AcquireVirtualCacheView(source_image,exception);
1086 image_view=AcquireAuthenticCacheView(image,exception);
1108 geometry->width,1,exception);
1110 geometry->width,1,exception);
1134 sync=SyncCacheViewAuthenticPixels(image_view,exception);
1352 *exception;
1372 exception=AcquireExceptionInfo();
1374 exception);
1376 &image_info->background_color,exception);
1378 &image_info->border_color,exception);
1380 &image_info->transparent_color,exception);
1381 exception=DestroyExceptionInfo(exception);
1431 % ExceptionInfo *exception)
1441 ExceptionInfo *exception)
1463 mask_image=CloneImage(image,image->columns,image->rows,MagickTrue,exception);
1468 (void) SetImageColorspace(mask_image,GRAYColorspace,exception);
1470 image_view=AcquireVirtualCacheView(image,exception);
1471 mask_view=AcquireAuthenticCacheView(mask_image,exception);
1485 p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception);
1487 exception);
1511 if (SyncCacheViewAuthenticPixels(mask_view,exception) == MagickFalse)
1611 % const char *format,int value,char *filename,ExceptionInfo *exception)
1626 % o exception: return any errors or warnings in this structure.
1631 ExceptionInfo *exception)
1728 option=GetImageProperty(image,pattern,exception);
1784 % ExceptionInfo *exception)
1790 % o exception: return any errors or warnings in this structure.
1794 ExceptionInfo *exception)
1798 (void) exception;
1815 image_view=AcquireVirtualCacheView(image,exception);
1830 p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception);
1981 % MagickBooleanType ModifyImage(Image *image,ExceptionInfo *exception)
1987 % o exception: return any errors or warnings in this structure.
1991 ExceptionInfo *exception)
2003 clone_image=CloneImage(*image,0,0,MagickTrue,exception);
2030 % ExceptionInfo *exception)
2042 % o exception: return any errors or warnings in this structure.
2047 ExceptionInfo *exception)
2066 image=AcquireImage(image_info,exception);
2074 image_view=AcquireAuthenticCacheView(image,exception);
2089 q=QueueCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception);
2100 if (SyncCacheViewAuthenticPixels(image_view,exception) == MagickFalse)
2234 % ExceptionInfo *exception)
2240 % o exception: return any errors or warnings in this structure.
2244 ExceptionInfo *exception)
2262 if (SetImageStorageClass(image,DirectClass,exception) == MagickFalse)
2264 ConformPixelInfo(image,&image->background_color,&background,exception);
2269 image_view=AcquireAuthenticCacheView(image,exception);
2280 q=QueueCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception);
2291 if (SyncCacheViewAuthenticPixels(image_view,exception) == MagickFalse)
2348 % ExeptionInfo *exception)
2356 % o exception: return any errors or warnings in this structure.
2360 const PixelInfo *color,ExceptionInfo *exception)
2381 image_view=AcquireAuthenticCacheView(image,exception);
2396 q=QueueCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception);
2407 if (SyncCacheViewAuthenticPixels(image_view,exception) == MagickFalse)
2432 % const ClassType storage_class,ExceptionInfo *exception)
2440 % o exception: return any errors or warnings in this structure.
2444 const ClassType storage_class,ExceptionInfo *exception)
2447 return(SyncImagePixelCache(image,exception));
2467 % const size_t rows,ExceptionInfo *exception)
2477 % o exception: return any errors or warnings in this structure.
2481 const size_t rows,ExceptionInfo *exception)
2489 return(SyncImagePixelCache(image,exception));
2516 % const unsigned int frames,ExceptionInfo *exception)
2524 % o exception: return any errors or warnings in this structure.
2528 const unsigned int frames,ExceptionInfo *exception)
2748 image_info->filename,(int) image_info->scene,component,exception);
2758 magick_info=GetMagickInfo(magic,exception);
2776 magick_size=GetMagicPatternExtent(exception);
2779 image=AcquireImage(image_info,exception);
2782 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception);
2795 status=ImageToFile(image,component,exception);
2804 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception);
2958 % const Image *mask,ExceptionInfo *exception)
2968 % o exception: return any errors or warnings in this structure.
2972 const Image *mask,ExceptionInfo *exception)
2998 return(SyncImagePixelCache(image,exception));
3005 if (SyncImagePixelCache(image,exception) == MagickFalse)
3008 mask_view=AcquireVirtualCacheView(mask,exception);
3009 image_view=AcquireAuthenticCacheView(image,exception);
3027 p=GetCacheViewVirtualPixels(mask_view,0,y,mask->columns,1,exception);
3028 q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception);
3056 if (SyncCacheViewAuthenticPixels(image_view,exception) == MagickFalse)
3081 % ExceptionInfo *exception)
3092 ExceptionInfo *exception)
3109 image_view=AcquireAuthenticCacheView(image,exception);
3124 q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception);
3136 if (SyncCacheViewAuthenticPixels(image_view,exception) == MagickFalse)
3162 % const VirtualPixelMethod virtual_pixel_method,ExceptionInfo *exception)
3170 % o exception: return any errors or warnings in this structure.
3174 const VirtualPixelMethod virtual_pixel_method,ExceptionInfo *exception)
3180 return(SetPixelCacheVirtualMethod(image,virtual_pixel_method,exception));
3205 % ExceptionInfo *exception)
3215 % o exception: return any errors or warnings in this structure.
3220 const ssize_t offset,ExceptionInfo *exception)
3258 left_view=AcquireVirtualCacheView(left_image,exception);
3259 right_view=AcquireVirtualCacheView(right_image,exception);
3264 p=GetCacheViewVirtualPixels(left_view,x,left_geometry.y+y,1,1,exception);
3274 exception);
3291 const ssize_t offset,ExceptionInfo *exception)
3329 top_view=AcquireVirtualCacheView(top_image,exception);
3330 bottom_view=AcquireVirtualCacheView(bottom_image,exception);
3335 p=GetCacheViewVirtualPixels(top_view,top_geometry.x+x,y,1,1,exception);
3345 exception);
3362 const MagickBooleanType stack,const ssize_t offset,ExceptionInfo *exception)
3404 assert(exception != (ExceptionInfo *) NULL);
3405 assert(exception->signature == MagickCoreSignature);
3435 smush_image=CloneImage(image,width,height,MagickTrue,exception);
3438 if (SetImageStorageClass(smush_image,DirectClass,exception) == MagickFalse)
3444 (void) SetImageBackgroundColor(smush_image,exception);
3455 y_offset-=SmushYGap(smush_image,image,offset,exception);
3459 x_offset-=SmushXGap(smush_image,image,offset,exception);
3463 y_offset,exception);
3504 % MagickBooleanType StripImage(Image *image,ExceptionInfo *exception)
3510 % o exception: return any errors or warnings in this structure.
3513 MagickExport MagickBooleanType StripImage(Image *image,ExceptionInfo *exception)
3521 (void) exception;
3548 % MagickBooleanType SyncImage(Image *image,ExceptionInfo *exception)
3554 % o exception: return any errors or warnings in this structure.
3567 MagickExport MagickBooleanType SyncImage(Image *image,ExceptionInfo *exception)
3589 image_view=AcquireAuthenticCacheView(image,exception);
3607 q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,exception);
3619 if (SyncCacheViewAuthenticPixels(image_view,exception) == MagickFalse)
3625 (void) ThrowMagickException(exception,GetMagickModule(),
3654 % Image *image,ExceptionInfo *exception)
3656 % Image *image,ExceptionInfo *exception)
3664 % o exception: return any errors or warnings in this structure.
3669 Image *images,ExceptionInfo *exception)
3682 (void) SyncImageSettings(image_info,image,exception);
3688 Image *image,ExceptionInfo *exception)
3714 exception);
3718 exception);
3735 exception);
3856 exception);
3900 exception);