Lines Matching refs:image

108     *image;  in ReadBGRImage()  local
142 image=AcquireImage(image_info,exception); in ReadBGRImage()
143 if ((image->columns == 0) || (image->rows == 0)) in ReadBGRImage()
147 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadBGRImage()
150 image=DestroyImageList(image); in ReadBGRImage()
153 if (DiscardBlobBytes(image,image->offset) == MagickFalse) in ReadBGRImage()
155 image->filename); in ReadBGRImage()
160 canvas_image=CloneImage(image,image->extract_info.width,1,MagickFalse, in ReadBGRImage()
176 image->alpha_trait=BlendPixelTrait; in ReadBGRImage()
182 image->alpha_trait=BlendPixelTrait; in ReadBGRImage()
187 while (image->scene < image_info->scene) in ReadBGRImage()
192 image->scene++; in ReadBGRImage()
194 for (y=0; y < (ssize_t) image->rows; y++) in ReadBGRImage()
196 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadBGRImage()
212 if (image->scene >= (image_info->scene+image_info->number_scenes-1)) in ReadBGRImage()
214 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadBGRImage()
228 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadBGRImage()
231 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadBGRImage()
246 "UnexpectedEndOfFile",image->filename); in ReadBGRImage()
257 if (((y-image->extract_info.y) >= 0) && in ReadBGRImage()
258 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadBGRImage()
262 q=QueueAuthenticPixels(image,0,y-image->extract_info.y, in ReadBGRImage()
263 image->columns,1,exception); in ReadBGRImage()
267 for (x=0; x < (ssize_t) image->columns; x++) in ReadBGRImage()
269 SetPixelRed(image,GetPixelRed(canvas_image,p),q); in ReadBGRImage()
270 SetPixelGreen(image,GetPixelGreen(canvas_image,p),q); in ReadBGRImage()
271 SetPixelBlue(image,GetPixelBlue(canvas_image,p),q); in ReadBGRImage()
272 SetPixelAlpha(image,OpaqueAlpha,q); in ReadBGRImage()
273 if (image->alpha_trait != UndefinedPixelTrait) in ReadBGRImage()
274 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadBGRImage()
276 q+=GetPixelChannels(image); in ReadBGRImage()
278 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadBGRImage()
281 if (image->previous == (Image *) NULL) in ReadBGRImage()
283 status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, in ReadBGRImage()
284 image->rows); in ReadBGRImage()
288 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadBGRImage()
310 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadBGRImage()
313 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadBGRImage()
328 "UnexpectedEndOfFile",image->filename); in ReadBGRImage()
331 for (i=0; i < (ssize_t) (image->alpha_trait != UndefinedPixelTrait ? 4 : 3); i++) in ReadBGRImage()
342 if (((y-image->extract_info.y) >= 0) && in ReadBGRImage()
343 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadBGRImage()
347 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadBGRImage()
348 image->columns,1,exception); in ReadBGRImage()
352 for (x=0; x < (ssize_t) image->columns; x++) in ReadBGRImage()
358 SetPixelRed(image,GetPixelRed(canvas_image,p),q); in ReadBGRImage()
363 SetPixelGreen(image,GetPixelGreen(canvas_image,p),q); in ReadBGRImage()
368 SetPixelBlue(image,GetPixelBlue(canvas_image,p),q); in ReadBGRImage()
373 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadBGRImage()
378 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadBGRImage()
385 q+=GetPixelChannels(image); in ReadBGRImage()
387 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadBGRImage()
390 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadBGRImage()
393 if (image->previous == (Image *) NULL) in ReadBGRImage()
395 status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, in ReadBGRImage()
396 image->rows); in ReadBGRImage()
411 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadBGRImage()
414 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadBGRImage()
429 "UnexpectedEndOfFile",image->filename); in ReadBGRImage()
440 if (((y-image->extract_info.y) >= 0) && in ReadBGRImage()
441 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadBGRImage()
445 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadBGRImage()
446 image->columns,1,exception); in ReadBGRImage()
450 for (x=0; x < (ssize_t) image->columns; x++) in ReadBGRImage()
452 SetPixelRed(image,GetPixelRed(canvas_image,p),q); in ReadBGRImage()
454 q+=GetPixelChannels(image); in ReadBGRImage()
456 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadBGRImage()
459 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadBGRImage()
462 if (image->previous == (Image *) NULL) in ReadBGRImage()
464 status=SetImageProgress(image,LoadImageTag,1,6); in ReadBGRImage()
468 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadBGRImage()
483 "UnexpectedEndOfFile",image->filename); in ReadBGRImage()
494 if (((y-image->extract_info.y) >= 0) && in ReadBGRImage()
495 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadBGRImage()
499 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadBGRImage()
500 image->columns,1,exception); in ReadBGRImage()
504 for (x=0; x < (ssize_t) image->columns; x++) in ReadBGRImage()
506 SetPixelGreen(image,GetPixelGreen(canvas_image,p),q); in ReadBGRImage()
508 q+=GetPixelChannels(image); in ReadBGRImage()
510 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadBGRImage()
513 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadBGRImage()
516 if (image->previous == (Image *) NULL) in ReadBGRImage()
518 status=SetImageProgress(image,LoadImageTag,2,6); in ReadBGRImage()
522 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadBGRImage()
537 "UnexpectedEndOfFile",image->filename); in ReadBGRImage()
548 if (((y-image->extract_info.y) >= 0) && in ReadBGRImage()
549 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadBGRImage()
553 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadBGRImage()
554 image->columns,1,exception); in ReadBGRImage()
558 for (x=0; x < (ssize_t) image->columns; x++) in ReadBGRImage()
560 SetPixelBlue(image,GetPixelBlue(canvas_image,p),q); in ReadBGRImage()
562 q+=GetPixelChannels(image); in ReadBGRImage()
564 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadBGRImage()
567 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadBGRImage()
570 if (image->previous == (Image *) NULL) in ReadBGRImage()
572 status=SetImageProgress(image,LoadImageTag,3,6); in ReadBGRImage()
576 if (image->previous == (Image *) NULL) in ReadBGRImage()
578 status=SetImageProgress(image,LoadImageTag,4,6); in ReadBGRImage()
582 if (image->alpha_trait != UndefinedPixelTrait) in ReadBGRImage()
584 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadBGRImage()
599 "UnexpectedEndOfFile",image->filename); in ReadBGRImage()
610 if (((y-image->extract_info.y) >= 0) && in ReadBGRImage()
611 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadBGRImage()
616 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadBGRImage()
617 image->columns,1,exception); in ReadBGRImage()
621 for (x=0; x < (ssize_t) image->columns; x++) in ReadBGRImage()
623 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadBGRImage()
625 q+=GetPixelChannels(image); in ReadBGRImage()
627 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadBGRImage()
630 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadBGRImage()
633 if (image->previous == (Image *) NULL) in ReadBGRImage()
635 status=SetImageProgress(image,LoadImageTag,5,6); in ReadBGRImage()
640 if (image->previous == (Image *) NULL) in ReadBGRImage()
642 status=SetImageProgress(image,LoadImageTag,6,6); in ReadBGRImage()
653 AppendImageFormat("B",image->filename); in ReadBGRImage()
654 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadBGRImage()
657 if (DiscardBlobBytes(image,(MagickSizeType) image->offset) == MagickFalse) in ReadBGRImage()
661 image->filename); in ReadBGRImage()
667 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadBGRImage()
669 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadBGRImage()
677 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadBGRImage()
679 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadBGRImage()
694 "UnexpectedEndOfFile",image->filename); in ReadBGRImage()
705 if (((y-image->extract_info.y) >= 0) && in ReadBGRImage()
706 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadBGRImage()
710 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadBGRImage()
711 image->columns,1,exception); in ReadBGRImage()
715 for (x=0; x < (ssize_t) image->columns; x++) in ReadBGRImage()
717 SetPixelRed(image,GetPixelRed(canvas_image,p),q); in ReadBGRImage()
719 q+=GetPixelChannels(image); in ReadBGRImage()
721 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadBGRImage()
724 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadBGRImage()
727 if (image->previous == (Image *) NULL) in ReadBGRImage()
729 status=SetImageProgress(image,LoadImageTag,1,5); in ReadBGRImage()
733 (void) CloseBlob(image); in ReadBGRImage()
734 AppendImageFormat("G",image->filename); in ReadBGRImage()
735 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadBGRImage()
741 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadBGRImage()
743 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadBGRImage()
751 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadBGRImage()
753 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadBGRImage()
768 "UnexpectedEndOfFile",image->filename); in ReadBGRImage()
779 if (((y-image->extract_info.y) >= 0) && in ReadBGRImage()
780 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadBGRImage()
784 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadBGRImage()
785 image->columns,1,exception); in ReadBGRImage()
789 for (x=0; x < (ssize_t) image->columns; x++) in ReadBGRImage()
791 SetPixelGreen(image,GetPixelGreen(canvas_image,p),q); in ReadBGRImage()
793 q+=GetPixelChannels(image); in ReadBGRImage()
795 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadBGRImage()
798 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadBGRImage()
801 if (image->previous == (Image *) NULL) in ReadBGRImage()
803 status=SetImageProgress(image,LoadImageTag,2,5); in ReadBGRImage()
807 (void) CloseBlob(image); in ReadBGRImage()
808 AppendImageFormat("R",image->filename); in ReadBGRImage()
809 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadBGRImage()
815 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadBGRImage()
817 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadBGRImage()
825 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadBGRImage()
827 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadBGRImage()
842 "UnexpectedEndOfFile",image->filename); in ReadBGRImage()
853 if (((y-image->extract_info.y) >= 0) && in ReadBGRImage()
854 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadBGRImage()
858 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadBGRImage()
859 image->columns,1,exception); in ReadBGRImage()
863 for (x=0; x < (ssize_t) image->columns; x++) in ReadBGRImage()
865 SetPixelBlue(image,GetPixelBlue(canvas_image,p),q); in ReadBGRImage()
867 q+=GetPixelChannels(image); in ReadBGRImage()
869 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadBGRImage()
872 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadBGRImage()
875 if (image->previous == (Image *) NULL) in ReadBGRImage()
877 status=SetImageProgress(image,LoadImageTag,3,5); in ReadBGRImage()
881 if (image->alpha_trait != UndefinedPixelTrait) in ReadBGRImage()
883 (void) CloseBlob(image); in ReadBGRImage()
884 AppendImageFormat("A",image->filename); in ReadBGRImage()
885 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadBGRImage()
891 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadBGRImage()
893 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadBGRImage()
901 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadBGRImage()
903 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadBGRImage()
918 "UnexpectedEndOfFile",image->filename); in ReadBGRImage()
929 if (((y-image->extract_info.y) >= 0) && in ReadBGRImage()
930 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadBGRImage()
934 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadBGRImage()
935 image->columns,1,exception); in ReadBGRImage()
939 for (x=0; x < (ssize_t) image->columns; x++) in ReadBGRImage()
941 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadBGRImage()
943 q+=GetPixelChannels(image); in ReadBGRImage()
945 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadBGRImage()
948 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadBGRImage()
951 if (image->previous == (Image *) NULL) in ReadBGRImage()
953 status=SetImageProgress(image,LoadImageTag,4,5); in ReadBGRImage()
958 (void) CloseBlob(image); in ReadBGRImage()
959 if (image->previous == (Image *) NULL) in ReadBGRImage()
961 status=SetImageProgress(image,LoadImageTag,5,5); in ReadBGRImage()
970 SetQuantumImageType(image,quantum_type); in ReadBGRImage()
975 if (image->scene >= (image_info->scene+image_info->number_scenes-1)) in ReadBGRImage()
982 AcquireNextImage(image_info,image,exception); in ReadBGRImage()
983 if (GetNextImageInList(image) == (Image *) NULL) in ReadBGRImage()
988 image=SyncNextImageInList(image); in ReadBGRImage()
989 status=SetImageProgress(image,LoadImagesTag,TellBlob(image), in ReadBGRImage()
990 GetBlobSize(image)); in ReadBGRImage()
998 (void) CloseBlob(image); in ReadBGRImage()
1000 return(DestroyImageList(image)); in ReadBGRImage()
1001 return(GetFirstImageInList(image)); in ReadBGRImage()
1108 static MagickBooleanType WriteBGRImage(const ImageInfo *image_info,Image *image, in WriteBGRImage() argument
1141 assert(image != (Image *) NULL); in WriteBGRImage()
1142 assert(image->signature == MagickCoreSignature); in WriteBGRImage()
1143 if (image->debug != MagickFalse) in WriteBGRImage()
1144 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); in WriteBGRImage()
1152 status=OpenBlob(image_info,image,WriteBinaryBlobMode,exception); in WriteBGRImage()
1160 image->alpha_trait=BlendPixelTrait; in WriteBGRImage()
1163 imageListLength=GetImageListLength(image); in WriteBGRImage()
1169 (void) TransformImageColorspace(image,sRGBColorspace,exception); in WriteBGRImage()
1171 (image->alpha_trait == UndefinedPixelTrait)) in WriteBGRImage()
1172 (void) SetImageAlphaChannel(image,OpaqueAlphaChannel,exception); in WriteBGRImage()
1173 quantum_info=AcquireQuantumInfo(image_info,image); in WriteBGRImage()
1185 for (y=0; y < (ssize_t) image->rows; y++) in WriteBGRImage()
1190 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteBGRImage()
1193 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteBGRImage()
1195 count=WriteBlob(image,length,pixels); in WriteBGRImage()
1198 if (image->previous == (Image *) NULL) in WriteBGRImage()
1200 status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, in WriteBGRImage()
1201 image->rows); in WriteBGRImage()
1213 for (y=0; y < (ssize_t) image->rows; y++) in WriteBGRImage()
1218 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteBGRImage()
1221 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteBGRImage()
1223 count=WriteBlob(image,length,pixels); in WriteBGRImage()
1226 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteBGRImage()
1228 count=WriteBlob(image,length,pixels); in WriteBGRImage()
1231 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteBGRImage()
1233 count=WriteBlob(image,length,pixels); in WriteBGRImage()
1238 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteBGRImage()
1240 count=WriteBlob(image,length,pixels); in WriteBGRImage()
1244 if (image->previous == (Image *) NULL) in WriteBGRImage()
1246 status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, in WriteBGRImage()
1247 image->rows); in WriteBGRImage()
1259 for (y=0; y < (ssize_t) image->rows; y++) in WriteBGRImage()
1264 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteBGRImage()
1267 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteBGRImage()
1269 count=WriteBlob(image,length,pixels); in WriteBGRImage()
1273 if (image->previous == (Image *) NULL) in WriteBGRImage()
1275 status=SetImageProgress(image,SaveImageTag,1,6); in WriteBGRImage()
1279 for (y=0; y < (ssize_t) image->rows; y++) in WriteBGRImage()
1284 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteBGRImage()
1287 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteBGRImage()
1289 count=WriteBlob(image,length,pixels); in WriteBGRImage()
1293 if (image->previous == (Image *) NULL) in WriteBGRImage()
1295 status=SetImageProgress(image,SaveImageTag,2,6); in WriteBGRImage()
1299 for (y=0; y < (ssize_t) image->rows; y++) in WriteBGRImage()
1304 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteBGRImage()
1307 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteBGRImage()
1309 count=WriteBlob(image,length,pixels); in WriteBGRImage()
1313 if (image->previous == (Image *) NULL) in WriteBGRImage()
1315 status=SetImageProgress(image,SaveImageTag,3,6); in WriteBGRImage()
1321 for (y=0; y < (ssize_t) image->rows; y++) in WriteBGRImage()
1326 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteBGRImage()
1329 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteBGRImage()
1331 count=WriteBlob(image,length,pixels); in WriteBGRImage()
1335 if (image->previous == (Image *) NULL) in WriteBGRImage()
1337 status=SetImageProgress(image,SaveImageTag,5,6); in WriteBGRImage()
1343 (void) CopyMagickString(image->filename,image_info->filename, in WriteBGRImage()
1345 if (image->previous == (Image *) NULL) in WriteBGRImage()
1347 status=SetImageProgress(image,SaveImageTag,6,6); in WriteBGRImage()
1358 AppendImageFormat("B",image->filename); in WriteBGRImage()
1359 status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : in WriteBGRImage()
1363 for (y=0; y < (ssize_t) image->rows; y++) in WriteBGRImage()
1368 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteBGRImage()
1371 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteBGRImage()
1373 count=WriteBlob(image,length,pixels); in WriteBGRImage()
1377 if (image->previous == (Image *) NULL) in WriteBGRImage()
1379 status=SetImageProgress(image,SaveImageTag,1,6); in WriteBGRImage()
1383 (void) CloseBlob(image); in WriteBGRImage()
1384 AppendImageFormat("G",image->filename); in WriteBGRImage()
1385 status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : in WriteBGRImage()
1389 for (y=0; y < (ssize_t) image->rows; y++) in WriteBGRImage()
1394 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteBGRImage()
1397 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteBGRImage()
1399 count=WriteBlob(image,length,pixels); in WriteBGRImage()
1403 if (image->previous == (Image *) NULL) in WriteBGRImage()
1405 status=SetImageProgress(image,SaveImageTag,2,6); in WriteBGRImage()
1409 (void) CloseBlob(image); in WriteBGRImage()
1410 AppendImageFormat("R",image->filename); in WriteBGRImage()
1411 status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : in WriteBGRImage()
1415 for (y=0; y < (ssize_t) image->rows; y++) in WriteBGRImage()
1420 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteBGRImage()
1423 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteBGRImage()
1425 count=WriteBlob(image,length,pixels); in WriteBGRImage()
1429 if (image->previous == (Image *) NULL) in WriteBGRImage()
1431 status=SetImageProgress(image,SaveImageTag,3,6); in WriteBGRImage()
1435 (void) CloseBlob(image); in WriteBGRImage()
1438 (void) CloseBlob(image); in WriteBGRImage()
1439 AppendImageFormat("A",image->filename); in WriteBGRImage()
1440 status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : in WriteBGRImage()
1444 for (y=0; y < (ssize_t) image->rows; y++) in WriteBGRImage()
1449 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteBGRImage()
1452 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteBGRImage()
1454 count=WriteBlob(image,length,pixels); in WriteBGRImage()
1458 if (image->previous == (Image *) NULL) in WriteBGRImage()
1460 status=SetImageProgress(image,SaveImageTag,5,6); in WriteBGRImage()
1465 (void) CloseBlob(image); in WriteBGRImage()
1466 (void) CopyMagickString(image->filename,image_info->filename, in WriteBGRImage()
1468 if (image->previous == (Image *) NULL) in WriteBGRImage()
1470 status=SetImageProgress(image,SaveImageTag,6,6); in WriteBGRImage()
1478 if (GetNextImageInList(image) == (Image *) NULL) in WriteBGRImage()
1480 image=SyncNextImageInList(image); in WriteBGRImage()
1481 status=SetImageProgress(image,SaveImagesTag,scene++,imageListLength); in WriteBGRImage()
1485 (void) CloseBlob(image); in WriteBGRImage()