Lines Matching refs:exception
101 ExceptionInfo *exception) in ReadBGRImage() argument
140 assert(exception != (ExceptionInfo *) NULL); in ReadBGRImage()
141 assert(exception->signature == MagickCoreSignature); in ReadBGRImage()
142 image=AcquireImage(image_info,exception); in ReadBGRImage()
147 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadBGRImage()
154 ThrowFileException(exception,CorruptImageError,"UnexpectedEndOfFile", in ReadBGRImage()
161 exception); in ReadBGRImage()
165 exception); in ReadBGRImage()
214 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadBGRImage()
245 ThrowFileException(exception,CorruptImageError, in ReadBGRImage()
250 exception); in ReadBGRImage()
254 quantum_info,quantum_type,pixels,exception); in ReadBGRImage()
255 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadBGRImage()
261 canvas_image->columns,1,exception); in ReadBGRImage()
263 image->columns,1,exception); in ReadBGRImage()
278 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadBGRImage()
327 ThrowFileException(exception,CorruptImageError, in ReadBGRImage()
335 exception); in ReadBGRImage()
339 quantum_info,quantum_type,pixels,exception); in ReadBGRImage()
340 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadBGRImage()
346 canvas_image->columns,1,exception); in ReadBGRImage()
348 image->columns,1,exception); in ReadBGRImage()
387 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadBGRImage()
428 ThrowFileException(exception,CorruptImageError, in ReadBGRImage()
433 exception); in ReadBGRImage()
437 quantum_info,RedQuantum,pixels,exception); in ReadBGRImage()
438 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadBGRImage()
444 canvas_image->columns,1,exception); in ReadBGRImage()
446 image->columns,1,exception); in ReadBGRImage()
456 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadBGRImage()
482 ThrowFileException(exception,CorruptImageError, in ReadBGRImage()
487 exception); in ReadBGRImage()
491 quantum_info,GreenQuantum,pixels,exception); in ReadBGRImage()
492 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadBGRImage()
498 canvas_image->columns,1,exception); in ReadBGRImage()
500 image->columns,1,exception); in ReadBGRImage()
510 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadBGRImage()
536 ThrowFileException(exception,CorruptImageError, in ReadBGRImage()
541 exception); in ReadBGRImage()
545 quantum_info,BlueQuantum,pixels,exception); in ReadBGRImage()
546 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadBGRImage()
552 canvas_image->columns,1,exception); in ReadBGRImage()
554 image->columns,1,exception); in ReadBGRImage()
564 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadBGRImage()
598 ThrowFileException(exception,CorruptImageError, in ReadBGRImage()
603 exception); in ReadBGRImage()
607 quantum_info,AlphaQuantum,pixels,exception); in ReadBGRImage()
608 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadBGRImage()
615 exception); in ReadBGRImage()
617 image->columns,1,exception); in ReadBGRImage()
627 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadBGRImage()
654 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadBGRImage()
660 ThrowFileException(exception,CorruptImageError,"UnexpectedEndOfFile", in ReadBGRImage()
693 ThrowFileException(exception,CorruptImageError, in ReadBGRImage()
698 exception); in ReadBGRImage()
702 quantum_info,BlueQuantum,pixels,exception); in ReadBGRImage()
703 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadBGRImage()
709 canvas_image->columns,1,exception); in ReadBGRImage()
711 image->columns,1,exception); in ReadBGRImage()
721 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadBGRImage()
735 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadBGRImage()
767 ThrowFileException(exception,CorruptImageError, in ReadBGRImage()
772 exception); in ReadBGRImage()
776 quantum_info,GreenQuantum,pixels,exception); in ReadBGRImage()
777 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadBGRImage()
783 canvas_image->columns,1,exception); in ReadBGRImage()
785 image->columns,1,exception); in ReadBGRImage()
795 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadBGRImage()
809 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadBGRImage()
841 ThrowFileException(exception,CorruptImageError, in ReadBGRImage()
846 exception); in ReadBGRImage()
850 quantum_info,RedQuantum,pixels,exception); in ReadBGRImage()
851 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadBGRImage()
857 canvas_image->columns,1,exception); in ReadBGRImage()
859 image->columns,1,exception); in ReadBGRImage()
869 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadBGRImage()
885 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadBGRImage()
917 ThrowFileException(exception,CorruptImageError, in ReadBGRImage()
922 exception); in ReadBGRImage()
926 quantum_info,BlueQuantum,pixels,exception); in ReadBGRImage()
927 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadBGRImage()
933 0,canvas_image->columns,1,exception); in ReadBGRImage()
935 image->columns,1,exception); in ReadBGRImage()
945 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadBGRImage()
982 AcquireNextImage(image_info,image,exception); in ReadBGRImage()
1109 ExceptionInfo *exception) in WriteBGRImage() argument
1150 assert(exception != (ExceptionInfo *) NULL); in WriteBGRImage()
1151 assert(exception->signature == MagickCoreSignature); in WriteBGRImage()
1152 status=OpenBlob(image_info,image,WriteBinaryBlobMode,exception); in WriteBGRImage()
1169 (void) TransformImageColorspace(image,sRGBColorspace,exception); in WriteBGRImage()
1172 (void) SetImageAlphaChannel(image,OpaqueAlphaChannel,exception); in WriteBGRImage()
1190 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteBGRImage()
1194 quantum_type,pixels,exception); in WriteBGRImage()
1218 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteBGRImage()
1222 BlueQuantum,pixels,exception); in WriteBGRImage()
1227 GreenQuantum,pixels,exception); in WriteBGRImage()
1232 RedQuantum,pixels,exception); in WriteBGRImage()
1239 AlphaQuantum,pixels,exception); in WriteBGRImage()
1264 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteBGRImage()
1268 RedQuantum,pixels,exception); in WriteBGRImage()
1284 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteBGRImage()
1288 GreenQuantum,pixels,exception); in WriteBGRImage()
1304 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteBGRImage()
1308 BlueQuantum,pixels,exception); in WriteBGRImage()
1326 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteBGRImage()
1330 AlphaQuantum,pixels,exception); in WriteBGRImage()
1360 AppendBinaryBlobMode,exception); in WriteBGRImage()
1368 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteBGRImage()
1372 BlueQuantum,pixels,exception); in WriteBGRImage()
1386 AppendBinaryBlobMode,exception); in WriteBGRImage()
1394 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteBGRImage()
1398 GreenQuantum,pixels,exception); in WriteBGRImage()
1412 AppendBinaryBlobMode,exception); in WriteBGRImage()
1420 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteBGRImage()
1424 RedQuantum,pixels,exception); in WriteBGRImage()
1441 AppendBinaryBlobMode,exception); in WriteBGRImage()
1449 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteBGRImage()
1453 AlphaQuantum,pixels,exception); in WriteBGRImage()