Lines Matching refs:exception
59 #include "MagickCore/exception.h"
60 #include "MagickCore/exception-private.h"
232 % Image *ReadPSDImage(image_info,ExceptionInfo *exception)
238 % o exception: return any errors or warnings in this structure.
283 Image *image,ExceptionInfo* exception)
314 q=GetAuthenticPixels(image,0,y,image->columns,1,exception);
340 if (SyncAuthenticPixels(image,exception) == MagickFalse)
363 ExceptionInfo *exception)
391 exception);
403 if (SyncAuthenticPixels(layer_info->image,exception) == MagickFalse)
604 static MagickBooleanType NegateCMYK(Image *image,ExceptionInfo *exception)
614 status=NegateImage(image,MagickFalse,exception);
621 MagickBooleanType *has_merged_image,ExceptionInfo *exception)
641 (void) SetImageProfile(image,"8bim",profile,exception);
669 (void) SetImageProperty(image,"tiff:XResolution",value,exception);
676 (void) SetImageProperty(image,"tiff:YResolution",value,exception);
774 ExceptionInfo *exception)
783 ConstrainColormapIndex(image,GetPixelIndex(image,q),exception),q);
840 const unsigned char *pixels,ExceptionInfo *exception)
861 q=GetAuthenticPixels(image,0,row,image->columns,1,exception);
876 SetPSDPixel(image,channels,type,packet_size,pixel,q,exception);
891 & (0x01 << (7-bit))) != 0 ? 0 : QuantumRange,q,exception);
900 return(SyncAuthenticPixels(image,exception));
904 const ssize_t type,ExceptionInfo *exception)
938 status=ReadPSDChannelPixels(image,channels,y,type,pixels,exception);
971 const ssize_t type,MagickOffsetType *offsets,ExceptionInfo *exception)
1035 exception);
1048 const size_t compact_size,ExceptionInfo *exception)
1147 status=ReadPSDChannelPixels(image,channels,y,type,p,exception);
1162 const PSDCompressionType compression,ExceptionInfo *exception)
1189 layer_info->mask.page.height,MagickFalse,exception);
1190 SetImageType(mask,GrayscaleType,exception);
1200 layer_info->channel_info[channel].type,exception);
1212 layer_info->channel_info[channel].type,offsets,exception);
1221 layer_info->channel_info[channel].size-2,exception);
1223 (void) ThrowMagickException(exception,GetMagickModule(),
1229 (void) ThrowMagickException(exception,GetMagickModule(),TypeWarning,
1250 MagickTrue,exception);
1254 SetImageColor(layer_info->mask.image,&color,exception);
1257 exception);
1266 LayerInfo* layer_info,ExceptionInfo *exception)
1283 (void) SetImageBackgroundColor(layer_info->image,exception);
1289 SetImageColorspace(layer_info->image,CMYKColorspace,exception);
1292 SetImageColorspace(layer_info->image,GRAYColorspace,exception);
1306 exception);
1321 compression,exception);
1328 status=CorrectPSDOpacity(layer_info,exception);
1332 status=NegateCMYK(layer_info->image,exception);
1337 CopyAlphaCompositeOp,MagickTrue,0,0,exception);
1346 const MagickBooleanType skip_layers,ExceptionInfo *exception)
1617 layer_info[i].page.height,MagickFalse,exception);
1652 status=ReadPSDLayer(image,psd_info,&layer_info[i],exception);
1699 Image *image,const PSDInfo *psd_info,ExceptionInfo *exception)
1718 (void) ThrowMagickException(exception,GetMagickModule(),
1737 exception);
1739 status=ReadPSDChannelRaw(image,psd_info->channels,i,exception);
1749 status=NegateCMYK(image,exception);
1752 status=CorrectPSDAlphaBlend(image_info,image,exception);
1760 static Image *ReadPSDImage(const ImageInfo *image_info,ExceptionInfo *exception)
1798 assert(exception != (ExceptionInfo *) NULL);
1799 assert(exception->signature == MagickCoreSignature);
1801 image=AcquireImage(image_info,exception);
1802 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception);
1842 status=SetImageExtent(image,image->columns,image->rows,exception);
1845 if (SetImageBackgroundColor(image,exception) == MagickFalse)
1851 SetImageColorspace(image,LabColorspace,exception);
1854 SetImageColorspace(image,CMYKColorspace,exception);
1862 exception);
1868 SetImageColorspace(image,GRAYColorspace,exception);
1907 if (AcquireImageColormap(image,number_colors,exception) == MagickFalse)
1949 exception);
1979 if (ReadPSDLayers(image,image_info,&psd_info,skip_layers,exception) !=
2008 &psd_info,exception);
2013 status=ReadPSDLayers(image,image_info,&psd_info,MagickFalse,exception);
2026 SetImageAlphaChannel(image,TransparentAlphaChannel,exception);
2029 merged=MergeImageLayers(image,FlattenLayer,exception);
2123 % ExceptionInfo *exception)
2131 % o exception: return any errors or warnings in this structure.
2153 ExceptionInfo *exception)
2264 ExceptionInfo *exception)
2290 p=GetVirtualPixels(next_image,0,y,next_image->columns,1,exception);
2294 quantum_type,pixels,exception);
2296 exception);
2305 ExceptionInfo *exception)
2343 p=GetVirtualPixels(next_image,0,y,next_image->columns,1,exception);
2347 quantum_type,pixels,exception);
2356 exception);
2365 const MagickBooleanType separate,ExceptionInfo *exception)
2396 compact_pixels,GrayQuantum,exception);
2399 compact_pixels,AlphaQuantum,exception);
2402 GrayQuantum,MagickTrue,exception);
2405 AlphaQuantum,separate,exception);
2418 compact_pixels,IndexQuantum,exception);
2421 compact_pixels,AlphaQuantum,exception);
2424 IndexQuantum,MagickTrue,exception);
2427 AlphaQuantum,separate,exception);
2433 (void) NegateCMYK(next_image,exception);
2441 compact_pixels,RedQuantum,exception);
2443 compact_pixels,GreenQuantum,exception);
2445 compact_pixels,BlueQuantum,exception);
2448 compact_pixels,BlackQuantum,exception);
2451 compact_pixels,AlphaQuantum,exception);
2455 RedQuantum,MagickTrue,exception);
2458 GreenQuantum,separate,exception);
2461 BlueQuantum,separate,exception);
2465 BlackQuantum,separate,exception);
2469 AlphaQuantum,separate,exception);
2472 (void) NegateCMYK(next_image,exception);
2646 Image *image,ExceptionInfo *exception)
2689 assert(exception != (ExceptionInfo *) NULL);
2690 assert(exception->signature == MagickCoreSignature);
2691 status=OpenBlob(image_info,image,WriteBinaryBlobMode,exception);
2705 if (SetImageGray(image,exception) != MagickFalse)
2714 (void) SetImageStorageClass(image,DirectClass,exception);
2747 (void) TransformImageColorspace(image,sRGBColorspace,exception);
2754 (void) TransformImageColorspace(image,CMYKColorspace,exception);
2840 property=(const char *) GetImageProperty(next_image,"label",exception);
2942 property=(const char *) GetImageProperty(next_image,"label",exception);
2976 MagickTrue,exception);
2987 exception);