Lines Matching refs:exception
101 ExceptionInfo *exception) in ReadGRAYImage() argument
140 assert(exception != (ExceptionInfo *) NULL); in ReadGRAYImage()
141 assert(exception->signature == MagickCoreSignature); in ReadGRAYImage()
142 image=AcquireImage(image_info,exception); in ReadGRAYImage()
148 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadGRAYImage()
155 ThrowFileException(exception,CorruptImageError,"UnexpectedEndOfFile", in ReadGRAYImage()
162 exception); in ReadGRAYImage()
166 exception); in ReadGRAYImage()
209 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadGRAYImage()
240 ThrowFileException(exception,CorruptImageError, in ReadGRAYImage()
245 exception); in ReadGRAYImage()
249 quantum_info,quantum_type,pixels,exception); in ReadGRAYImage()
250 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadGRAYImage()
256 canvas_image->columns,1,exception); in ReadGRAYImage()
258 image->columns,1,exception); in ReadGRAYImage()
272 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadGRAYImage()
321 ThrowFileException(exception,CorruptImageError, in ReadGRAYImage()
327 exception); in ReadGRAYImage()
331 quantum_info,quantum_type,pixels,exception); in ReadGRAYImage()
332 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadGRAYImage()
338 0,canvas_image->columns,1,exception); in ReadGRAYImage()
340 image->columns,1,exception); in ReadGRAYImage()
363 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadGRAYImage()
404 ThrowFileException(exception,CorruptImageError, in ReadGRAYImage()
409 exception); in ReadGRAYImage()
413 quantum_info,RedQuantum,pixels,exception); in ReadGRAYImage()
414 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadGRAYImage()
420 canvas_image->columns,1,exception); in ReadGRAYImage()
422 image->columns,1,exception); in ReadGRAYImage()
431 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadGRAYImage()
459 ThrowFileException(exception,CorruptImageError, in ReadGRAYImage()
464 exception); in ReadGRAYImage()
468 quantum_info,AlphaQuantum,pixels,exception); in ReadGRAYImage()
469 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadGRAYImage()
476 exception); in ReadGRAYImage()
478 image->columns,1,exception); in ReadGRAYImage()
487 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadGRAYImage()
514 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadGRAYImage()
520 ThrowFileException(exception,CorruptImageError,"UnexpectedEndOfFile", in ReadGRAYImage()
553 ThrowFileException(exception,CorruptImageError, in ReadGRAYImage()
558 exception); in ReadGRAYImage()
562 quantum_info,RedQuantum,pixels,exception); in ReadGRAYImage()
563 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadGRAYImage()
569 canvas_image->columns,1,exception); in ReadGRAYImage()
571 image->columns,1,exception); in ReadGRAYImage()
580 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadGRAYImage()
597 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadGRAYImage()
629 ThrowFileException(exception,CorruptImageError, in ReadGRAYImage()
634 exception); in ReadGRAYImage()
638 quantum_info,BlueQuantum,pixels,exception); in ReadGRAYImage()
639 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadGRAYImage()
645 0,canvas_image->columns,1,exception); in ReadGRAYImage()
647 image->columns,1,exception); in ReadGRAYImage()
656 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadGRAYImage()
693 AcquireNextImage(image_info,image,exception); in ReadGRAYImage()
812 Image *image,ExceptionInfo *exception) in WriteGRAYImage() argument
851 status=OpenBlob(image_info,image,WriteBinaryBlobMode,exception); in WriteGRAYImage()
865 (void) TransformImageColorspace(image,GRAYColorspace,exception); in WriteGRAYImage()
868 (void) SetImageAlphaChannel(image,OpaqueAlphaChannel,exception); in WriteGRAYImage()
886 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteGRAYImage()
890 quantum_type,pixels,exception); in WriteGRAYImage()
914 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteGRAYImage()
918 GrayQuantum,pixels,exception); in WriteGRAYImage()
925 AlphaQuantum,pixels,exception); in WriteGRAYImage()
950 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteGRAYImage()
954 GrayQuantum,pixels,exception); in WriteGRAYImage()
972 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteGRAYImage()
976 AlphaQuantum,pixels,exception); in WriteGRAYImage()
1006 AppendBinaryBlobMode,exception); in WriteGRAYImage()
1014 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteGRAYImage()
1018 RedQuantum,pixels,exception); in WriteGRAYImage()
1035 AppendBinaryBlobMode,exception); in WriteGRAYImage()
1043 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteGRAYImage()
1047 AlphaQuantum,pixels,exception); in WriteGRAYImage()