Lines Matching refs:exception
52 #include "MagickCore/exception.h"
53 #include "MagickCore/exception-private.h"
133 % Image *ReadPNMImage(const ImageInfo *image_info,ExceptionInfo *exception)
139 % o exception: return any errors or warnings in this structure.
143 static int PNMComment(Image *image,ExceptionInfo *exception)
160 comment=AcquireString(GetImageProperty(image,"comment",exception));
183 (void) SetImageProperty(image,"comment",comment,exception);
189 ExceptionInfo *exception)
206 c=PNMComment(image,exception);
228 static Image *ReadPNMImage(const ImageInfo *image_info,ExceptionInfo *exception)
269 assert(exception != (ExceptionInfo *) NULL);
270 assert(exception->signature == MagickCoreSignature);
271 image=AcquireImage(image_info,exception);
272 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception);
298 image->columns=(size_t) PNMInteger(image,10,exception);
299 image->rows=(size_t) PNMInteger(image,10,exception);
313 max_value=(QuantumAny) PNMInteger(image,10,exception);
340 c=PNMComment(image,exception);
379 (void) SetImageColorspace(image,GRAYColorspace,exception);
384 (void) SetImageColorspace(image,GRAYColorspace,exception);
391 (void) SetImageColorspace(image,GRAYColorspace,exception);
395 (void) SetImageColorspace(image,GRAYColorspace,exception);
406 (void) SetImageColorspace(image,CMYKColorspace,exception);
411 (void) SetImageColorspace(image,CMYKColorspace,exception);
429 status=SetImageExtent(image,image->columns,image->rows,exception);
443 (void) SetImageColorspace(image,GRAYColorspace,exception);
452 q=QueueAuthenticPixels(image,0,y,image->columns,1,exception);
457 SetPixelGray(image,PNMInteger(image,2,exception) == 0 ?
463 if (SyncAuthenticPixels(image,exception) == MagickFalse)
486 (void) SetImageColorspace(image,GRAYColorspace,exception);
495 q=QueueAuthenticPixels(image,0,y,image->columns,1,exception);
500 intensity=ScaleAnyToQuantum(PNMInteger(image,10,exception),
507 if (SyncAuthenticPixels(image,exception) == MagickFalse)
535 q=QueueAuthenticPixels(image,0,y,image->columns,1,exception);
543 pixel=ScaleAnyToQuantum(PNMInteger(image,10,exception),max_value);
547 pixel=ScaleAnyToQuantum(PNMInteger(image,10,exception),max_value);
549 pixel=ScaleAnyToQuantum(PNMInteger(image,10,exception),max_value);
553 if (SyncAuthenticPixels(image,exception) == MagickFalse)
572 (void) SetImageColorspace(image,GRAYColorspace,exception);
617 q=QueueAuthenticPixels(image,0,offset,image->columns,1,exception);
624 quantum_type,pixels,exception);
627 sync=SyncAuthenticPixels(image,exception);
642 (void) SetImageColorspace(image,GRAYColorspace,exception);
693 q=QueueAuthenticPixels(image,0,offset,image->columns,1,exception);
707 quantum_type,pixels,exception);
750 sync=SyncAuthenticPixels(image,exception);
810 q=QueueAuthenticPixels(image,0,offset,image->columns,1,exception);
922 sync=SyncAuthenticPixels(image,exception);
1010 q=QueueAuthenticPixels(image,0,offset,image->columns,1,exception);
1024 quantum_type,pixels,exception);
1261 sync=SyncAuthenticPixels(image,exception);
1278 (void) SetImageColorspace(image,GRAYColorspace,exception);
1330 image->columns,1,exception);
1337 quantum_type,pixels,exception);
1340 sync=SyncAuthenticPixels(image,exception);
1355 (void) ThrowMagickException(exception,GetMagickModule(),
1383 AcquireNextImage(image_info,image,exception);
1510 % Image *image,ExceptionInfo *exception)
1518 % o exception: return any errors or warnings in this structure.
1522 ExceptionInfo *exception)
1571 assert(exception != (ExceptionInfo *) NULL);
1572 assert(exception->signature == MagickCoreSignature);
1573 status=OpenBlob(image_info,image,WriteBinaryBlobMode,exception);
1609 if (SetImageGray(image,exception) != MagickFalse)
1625 (SetImageGray(image,exception) != MagickFalse))
1630 if (SetImageMonochrome(image,exception) != MagickFalse)
1649 value=GetImageProperty(image,"comment",exception);
1685 quantum_type=GetQuantumType(image,exception);
1740 (void) SetImageType(image,BilevelType,exception);
1750 p=GetVirtualPixels(image,0,y,image->columns,1,exception);
1808 p=GetVirtualPixels(image,0,y,image->columns,1,exception);
1861 (void) TransformImageColorspace(image,sRGBColorspace,exception);
1878 p=GetVirtualPixels(image,0,y,image->columns,1,exception);
1933 (void) SetImageType(image,BilevelType,exception);
1946 p=GetVirtualPixels(image,0,y,image->columns,1,exception);
1950 GrayQuantum,pixels,exception);
1990 p=GetVirtualPixels(image,0,y,image->columns,1,exception);
2001 GrayQuantum,pixels,exception);
2086 (void) TransformImageColorspace(image,sRGBColorspace,exception);
2106 p=GetVirtualPixels(image,0,y,image->columns,1,exception);
2117 quantum_type,pixels,exception);
2200 p=GetVirtualPixels(image,0,y,image->columns,1,exception);
2211 quantum_type,pixels,exception);
2445 p=GetVirtualPixels(image,0,y,image->columns,1,exception);
2449 quantum_type,pixels,exception);