Lines Matching refs:image

107     *image;  in ReadCMYKImage()  local
141 image=AcquireImage(image_info,exception); in ReadCMYKImage()
142 if ((image->columns == 0) || (image->rows == 0)) in ReadCMYKImage()
144 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadCMYKImage()
146 return(DestroyImageList(image)); in ReadCMYKImage()
147 (void) SetImageColorspace(image,CMYKColorspace,exception); in ReadCMYKImage()
150 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadCMYKImage()
153 image=DestroyImageList(image); in ReadCMYKImage()
156 if (DiscardBlobBytes(image,(MagickSizeType) image->offset) == MagickFalse) in ReadCMYKImage()
158 image->filename); in ReadCMYKImage()
163 canvas_image=CloneImage(image,image->extract_info.width,1,MagickFalse, in ReadCMYKImage()
179 image->alpha_trait=BlendPixelTrait; in ReadCMYKImage()
183 while (image->scene < image_info->scene) in ReadCMYKImage()
188 image->scene++; in ReadCMYKImage()
190 for (y=0; y < (ssize_t) image->rows; y++) in ReadCMYKImage()
192 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadCMYKImage()
208 if (image->scene >= (image_info->scene+image_info->number_scenes-1)) in ReadCMYKImage()
210 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadCMYKImage()
213 if (SetImageColorspace(image,CMYKColorspace,exception) == MagickFalse) in ReadCMYKImage()
226 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadCMYKImage()
229 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadCMYKImage()
244 "UnexpectedEndOfFile",image->filename); in ReadCMYKImage()
255 if (((y-image->extract_info.y) >= 0) && in ReadCMYKImage()
256 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadCMYKImage()
260 q=QueueAuthenticPixels(image,0,y-image->extract_info.y, in ReadCMYKImage()
261 image->columns,1,exception); in ReadCMYKImage()
264 for (x=0; x < (ssize_t) image->columns; x++) in ReadCMYKImage()
266 SetPixelRed(image,GetPixelRed(canvas_image,p),q); in ReadCMYKImage()
267 SetPixelGreen(image,GetPixelGreen(canvas_image,p),q); in ReadCMYKImage()
268 SetPixelBlue(image,GetPixelBlue(canvas_image,p),q); in ReadCMYKImage()
269 SetPixelBlack(image,GetPixelBlack(canvas_image,p),q); in ReadCMYKImage()
270 SetPixelAlpha(image,OpaqueAlpha,q); in ReadCMYKImage()
271 if (image->alpha_trait != UndefinedPixelTrait) in ReadCMYKImage()
272 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadCMYKImage()
274 q+=GetPixelChannels(image); in ReadCMYKImage()
276 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadCMYKImage()
279 if (image->previous == (Image *) NULL) in ReadCMYKImage()
281 status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, in ReadCMYKImage()
282 image->rows); in ReadCMYKImage()
286 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadCMYKImage()
309 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadCMYKImage()
312 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadCMYKImage()
314 for (i=0; i < (ssize_t) (image->alpha_trait != UndefinedPixelTrait ? 5 : 4); i++) in ReadCMYKImage()
329 "UnexpectedEndOfFile",image->filename); in ReadCMYKImage()
341 if (((y-image->extract_info.y) >= 0) && in ReadCMYKImage()
342 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadCMYKImage()
346 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadCMYKImage()
347 image->columns,1,exception); in ReadCMYKImage()
350 for (x=0; x < (ssize_t) image->columns; x++) in ReadCMYKImage()
356 SetPixelCyan(image,GetPixelCyan(canvas_image,p),q); in ReadCMYKImage()
361 SetPixelMagenta(image,GetPixelMagenta(canvas_image,p),q); in ReadCMYKImage()
366 SetPixelYellow(image,GetPixelYellow(canvas_image,p),q); in ReadCMYKImage()
371 SetPixelBlack(image,GetPixelBlack(canvas_image,p),q); in ReadCMYKImage()
376 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadCMYKImage()
383 q+=GetPixelChannels(image); in ReadCMYKImage()
385 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadCMYKImage()
388 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadCMYKImage()
391 if (image->previous == (Image *) NULL) in ReadCMYKImage()
393 status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, in ReadCMYKImage()
394 image->rows); in ReadCMYKImage()
409 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadCMYKImage()
412 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadCMYKImage()
427 "UnexpectedEndOfFile",image->filename); in ReadCMYKImage()
438 if (((y-image->extract_info.y) >= 0) && in ReadCMYKImage()
439 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadCMYKImage()
443 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadCMYKImage()
444 image->columns,1,exception); in ReadCMYKImage()
447 for (x=0; x < (ssize_t) image->columns; x++) in ReadCMYKImage()
449 SetPixelRed(image,GetPixelRed(canvas_image,p),q); in ReadCMYKImage()
451 q+=GetPixelChannels(image); in ReadCMYKImage()
453 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadCMYKImage()
456 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadCMYKImage()
459 if (image->previous == (Image *) NULL) in ReadCMYKImage()
461 status=SetImageProgress(image,LoadImageTag,1,6); in ReadCMYKImage()
465 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadCMYKImage()
480 "UnexpectedEndOfFile",image->filename); in ReadCMYKImage()
491 if (((y-image->extract_info.y) >= 0) && in ReadCMYKImage()
492 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadCMYKImage()
496 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadCMYKImage()
497 image->columns,1,exception); in ReadCMYKImage()
500 for (x=0; x < (ssize_t) image->columns; x++) in ReadCMYKImage()
502 SetPixelGreen(image,GetPixelGreen(canvas_image,p),q); in ReadCMYKImage()
504 q+=GetPixelChannels(image); in ReadCMYKImage()
506 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadCMYKImage()
509 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadCMYKImage()
512 if (image->previous == (Image *) NULL) in ReadCMYKImage()
514 status=SetImageProgress(image,LoadImageTag,2,6); in ReadCMYKImage()
518 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadCMYKImage()
533 "UnexpectedEndOfFile",image->filename); in ReadCMYKImage()
544 if (((y-image->extract_info.y) >= 0) && in ReadCMYKImage()
545 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadCMYKImage()
549 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadCMYKImage()
550 image->columns,1,exception); in ReadCMYKImage()
553 for (x=0; x < (ssize_t) image->columns; x++) in ReadCMYKImage()
555 SetPixelBlue(image,GetPixelBlue(canvas_image,p),q); in ReadCMYKImage()
557 q+=GetPixelChannels(image); in ReadCMYKImage()
559 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadCMYKImage()
562 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadCMYKImage()
565 if (image->previous == (Image *) NULL) in ReadCMYKImage()
567 status=SetImageProgress(image,LoadImageTag,3,6); in ReadCMYKImage()
571 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadCMYKImage()
586 "UnexpectedEndOfFile",image->filename); in ReadCMYKImage()
597 if (((y-image->extract_info.y) >= 0) && in ReadCMYKImage()
598 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadCMYKImage()
602 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadCMYKImage()
603 image->columns,1,exception); in ReadCMYKImage()
606 for (x=0; x < (ssize_t) image->columns; x++) in ReadCMYKImage()
608 SetPixelBlack(image,GetPixelBlack(canvas_image,p),q); in ReadCMYKImage()
610 q+=GetPixelChannels(image); in ReadCMYKImage()
612 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadCMYKImage()
615 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadCMYKImage()
618 if (image->previous == (Image *) NULL) in ReadCMYKImage()
620 status=SetImageProgress(image,LoadImageTag,4,6); in ReadCMYKImage()
624 if (image->alpha_trait != UndefinedPixelTrait) in ReadCMYKImage()
626 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadCMYKImage()
641 "UnexpectedEndOfFile",image->filename); in ReadCMYKImage()
652 if (((y-image->extract_info.y) >= 0) && in ReadCMYKImage()
653 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadCMYKImage()
658 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadCMYKImage()
659 image->columns,1,exception); in ReadCMYKImage()
662 for (x=0; x < (ssize_t) image->columns; x++) in ReadCMYKImage()
664 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadCMYKImage()
666 q+=GetPixelChannels(image); in ReadCMYKImage()
668 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadCMYKImage()
671 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadCMYKImage()
674 if (image->previous == (Image *) NULL) in ReadCMYKImage()
676 status=SetImageProgress(image,LoadImageTag,5,6); in ReadCMYKImage()
681 if (image->previous == (Image *) NULL) in ReadCMYKImage()
683 status=SetImageProgress(image,LoadImageTag,6,6); in ReadCMYKImage()
694 AppendImageFormat("C",image->filename); in ReadCMYKImage()
695 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadCMYKImage()
698 if (DiscardBlobBytes(image,(MagickSizeType) image->offset) == MagickFalse) in ReadCMYKImage()
702 image->filename); in ReadCMYKImage()
708 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadCMYKImage()
710 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadCMYKImage()
718 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadCMYKImage()
720 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadCMYKImage()
735 "UnexpectedEndOfFile",image->filename); in ReadCMYKImage()
746 if (((y-image->extract_info.y) >= 0) && in ReadCMYKImage()
747 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadCMYKImage()
751 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadCMYKImage()
752 image->columns,1,exception); in ReadCMYKImage()
755 for (x=0; x < (ssize_t) image->columns; x++) in ReadCMYKImage()
757 SetPixelRed(image,GetPixelRed(canvas_image,p),q); in ReadCMYKImage()
759 q+=GetPixelChannels(image); in ReadCMYKImage()
761 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadCMYKImage()
764 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadCMYKImage()
767 if (image->previous == (Image *) NULL) in ReadCMYKImage()
769 status=SetImageProgress(image,LoadImageTag,1,5); in ReadCMYKImage()
773 (void) CloseBlob(image); in ReadCMYKImage()
774 AppendImageFormat("M",image->filename); in ReadCMYKImage()
775 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadCMYKImage()
781 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadCMYKImage()
783 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadCMYKImage()
791 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadCMYKImage()
793 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadCMYKImage()
808 "UnexpectedEndOfFile",image->filename); in ReadCMYKImage()
819 if (((y-image->extract_info.y) >= 0) && in ReadCMYKImage()
820 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadCMYKImage()
824 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadCMYKImage()
825 image->columns,1,exception); in ReadCMYKImage()
828 for (x=0; x < (ssize_t) image->columns; x++) in ReadCMYKImage()
830 SetPixelGreen(image,GetPixelGreen(canvas_image,p),q); in ReadCMYKImage()
832 q+=GetPixelChannels(image); in ReadCMYKImage()
834 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadCMYKImage()
837 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadCMYKImage()
840 if (image->previous == (Image *) NULL) in ReadCMYKImage()
842 status=SetImageProgress(image,LoadImageTag,2,5); in ReadCMYKImage()
846 (void) CloseBlob(image); in ReadCMYKImage()
847 AppendImageFormat("Y",image->filename); in ReadCMYKImage()
848 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadCMYKImage()
854 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadCMYKImage()
856 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadCMYKImage()
864 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadCMYKImage()
866 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadCMYKImage()
881 "UnexpectedEndOfFile",image->filename); in ReadCMYKImage()
892 if (((y-image->extract_info.y) >= 0) && in ReadCMYKImage()
893 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadCMYKImage()
897 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadCMYKImage()
898 image->columns,1,exception); in ReadCMYKImage()
902 for (x=0; x < (ssize_t) image->columns; x++) in ReadCMYKImage()
904 SetPixelBlue(image,GetPixelBlue(canvas_image,p),q); in ReadCMYKImage()
906 q+=GetPixelChannels(image); in ReadCMYKImage()
908 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadCMYKImage()
911 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadCMYKImage()
914 if (image->previous == (Image *) NULL) in ReadCMYKImage()
916 status=SetImageProgress(image,LoadImageTag,3,5); in ReadCMYKImage()
920 (void) CloseBlob(image); in ReadCMYKImage()
921 AppendImageFormat("K",image->filename); in ReadCMYKImage()
922 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadCMYKImage()
928 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadCMYKImage()
930 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadCMYKImage()
938 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadCMYKImage()
940 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadCMYKImage()
955 "UnexpectedEndOfFile",image->filename); in ReadCMYKImage()
966 if (((y-image->extract_info.y) >= 0) && in ReadCMYKImage()
967 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadCMYKImage()
971 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadCMYKImage()
972 image->columns,1,exception); in ReadCMYKImage()
976 for (x=0; x < (ssize_t) image->columns; x++) in ReadCMYKImage()
978 SetPixelBlack(image,GetPixelBlack(canvas_image,p),q); in ReadCMYKImage()
980 q+=GetPixelChannels(image); in ReadCMYKImage()
982 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadCMYKImage()
985 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadCMYKImage()
988 if (image->previous == (Image *) NULL) in ReadCMYKImage()
990 status=SetImageProgress(image,LoadImageTag,3,5); in ReadCMYKImage()
994 if (image->alpha_trait != UndefinedPixelTrait) in ReadCMYKImage()
996 (void) CloseBlob(image); in ReadCMYKImage()
997 AppendImageFormat("A",image->filename); in ReadCMYKImage()
998 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadCMYKImage()
1004 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadCMYKImage()
1006 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadCMYKImage()
1014 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadCMYKImage()
1016 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadCMYKImage()
1031 "UnexpectedEndOfFile",image->filename); in ReadCMYKImage()
1042 if (((y-image->extract_info.y) >= 0) && in ReadCMYKImage()
1043 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadCMYKImage()
1047 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadCMYKImage()
1048 image->columns,1,exception); in ReadCMYKImage()
1052 for (x=0; x < (ssize_t) image->columns; x++) in ReadCMYKImage()
1054 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadCMYKImage()
1056 q+=GetPixelChannels(image); in ReadCMYKImage()
1058 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadCMYKImage()
1061 pixels=(const unsigned char *) ReadBlobStream(image,length, in ReadCMYKImage()
1064 if (image->previous == (Image *) NULL) in ReadCMYKImage()
1066 status=SetImageProgress(image,LoadImageTag,4,5); in ReadCMYKImage()
1071 if (image->previous == (Image *) NULL) in ReadCMYKImage()
1073 status=SetImageProgress(image,LoadImageTag,5,5); in ReadCMYKImage()
1082 SetQuantumImageType(image,quantum_type); in ReadCMYKImage()
1087 if (image->scene >= (image_info->scene+image_info->number_scenes-1)) in ReadCMYKImage()
1094 AcquireNextImage(image_info,image,exception); in ReadCMYKImage()
1095 if (GetNextImageInList(image) == (Image *) NULL) in ReadCMYKImage()
1100 image=SyncNextImageInList(image); in ReadCMYKImage()
1101 status=SetImageProgress(image,LoadImagesTag,TellBlob(image), in ReadCMYKImage()
1102 GetBlobSize(image)); in ReadCMYKImage()
1110 (void) CloseBlob(image); in ReadCMYKImage()
1112 return(DestroyImageList(image)); in ReadCMYKImage()
1113 return(GetFirstImageInList(image)); in ReadCMYKImage()
1215 Image *image,ExceptionInfo *exception) in WriteCMYKImage() argument
1245 assert(image != (Image *) NULL); in WriteCMYKImage()
1246 assert(image->signature == MagickCoreSignature); in WriteCMYKImage()
1247 if (image->debug != MagickFalse) in WriteCMYKImage()
1248 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); in WriteCMYKImage()
1254 status=OpenBlob(image_info,image,WriteBinaryBlobMode,exception); in WriteCMYKImage()
1259 imageListLength=GetImageListLength(image); in WriteCMYKImage()
1265 if (image->colorspace != CMYKColorspace) in WriteCMYKImage()
1266 (void) TransformImageColorspace(image,CMYKColorspace,exception); in WriteCMYKImage()
1271 if (image->alpha_trait == UndefinedPixelTrait) in WriteCMYKImage()
1272 (void) SetImageAlphaChannel(image,OpaqueAlphaChannel,exception); in WriteCMYKImage()
1274 quantum_info=AcquireQuantumInfo(image_info,image); in WriteCMYKImage()
1286 for (y=0; y < (ssize_t) image->rows; y++) in WriteCMYKImage()
1291 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteCMYKImage()
1294 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteCMYKImage()
1296 count=WriteBlob(image,length,pixels); in WriteCMYKImage()
1299 if (image->previous == (Image *) NULL) in WriteCMYKImage()
1301 status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, in WriteCMYKImage()
1302 image->rows); in WriteCMYKImage()
1314 for (y=0; y < (ssize_t) image->rows; y++) in WriteCMYKImage()
1319 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteCMYKImage()
1322 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteCMYKImage()
1324 count=WriteBlob(image,length,pixels); in WriteCMYKImage()
1327 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteCMYKImage()
1329 count=WriteBlob(image,length,pixels); in WriteCMYKImage()
1332 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteCMYKImage()
1334 count=WriteBlob(image,length,pixels); in WriteCMYKImage()
1337 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteCMYKImage()
1339 count=WriteBlob(image,length,pixels); in WriteCMYKImage()
1344 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteCMYKImage()
1346 count=WriteBlob(image,length,pixels); in WriteCMYKImage()
1350 if (image->previous == (Image *) NULL) in WriteCMYKImage()
1352 status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, in WriteCMYKImage()
1353 image->rows); in WriteCMYKImage()
1365 for (y=0; y < (ssize_t) image->rows; y++) in WriteCMYKImage()
1370 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteCMYKImage()
1373 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteCMYKImage()
1375 count=WriteBlob(image,length,pixels); in WriteCMYKImage()
1379 if (image->previous == (Image *) NULL) in WriteCMYKImage()
1381 status=SetImageProgress(image,SaveImageTag,1,6); in WriteCMYKImage()
1385 for (y=0; y < (ssize_t) image->rows; y++) in WriteCMYKImage()
1390 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteCMYKImage()
1393 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteCMYKImage()
1395 count=WriteBlob(image,length,pixels); in WriteCMYKImage()
1399 if (image->previous == (Image *) NULL) in WriteCMYKImage()
1401 status=SetImageProgress(image,SaveImageTag,2,6); in WriteCMYKImage()
1405 for (y=0; y < (ssize_t) image->rows; y++) in WriteCMYKImage()
1410 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteCMYKImage()
1413 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteCMYKImage()
1415 count=WriteBlob(image,length,pixels); in WriteCMYKImage()
1419 if (image->previous == (Image *) NULL) in WriteCMYKImage()
1421 status=SetImageProgress(image,SaveImageTag,3,6); in WriteCMYKImage()
1425 for (y=0; y < (ssize_t) image->rows; y++) in WriteCMYKImage()
1430 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteCMYKImage()
1433 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteCMYKImage()
1435 count=WriteBlob(image,length,pixels); in WriteCMYKImage()
1439 if (image->previous == (Image *) NULL) in WriteCMYKImage()
1441 status=SetImageProgress(image,SaveImageTag,4,6); in WriteCMYKImage()
1447 for (y=0; y < (ssize_t) image->rows; y++) in WriteCMYKImage()
1452 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteCMYKImage()
1455 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteCMYKImage()
1457 count=WriteBlob(image,length,pixels); in WriteCMYKImage()
1461 if (image->previous == (Image *) NULL) in WriteCMYKImage()
1463 status=SetImageProgress(image,SaveImageTag,5,6); in WriteCMYKImage()
1469 (void) CopyMagickString(image->filename,image_info->filename, in WriteCMYKImage()
1471 if (image->previous == (Image *) NULL) in WriteCMYKImage()
1473 status=SetImageProgress(image,SaveImageTag,6,6); in WriteCMYKImage()
1484 AppendImageFormat("C",image->filename); in WriteCMYKImage()
1485 status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : in WriteCMYKImage()
1489 for (y=0; y < (ssize_t) image->rows; y++) in WriteCMYKImage()
1494 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteCMYKImage()
1497 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteCMYKImage()
1499 count=WriteBlob(image,length,pixels); in WriteCMYKImage()
1503 if (image->previous == (Image *) NULL) in WriteCMYKImage()
1505 status=SetImageProgress(image,SaveImageTag,1,6); in WriteCMYKImage()
1509 (void) CloseBlob(image); in WriteCMYKImage()
1510 AppendImageFormat("M",image->filename); in WriteCMYKImage()
1511 status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : in WriteCMYKImage()
1515 for (y=0; y < (ssize_t) image->rows; y++) in WriteCMYKImage()
1520 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteCMYKImage()
1523 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteCMYKImage()
1525 count=WriteBlob(image,length,pixels); in WriteCMYKImage()
1529 if (image->previous == (Image *) NULL) in WriteCMYKImage()
1531 status=SetImageProgress(image,SaveImageTag,2,6); in WriteCMYKImage()
1535 (void) CloseBlob(image); in WriteCMYKImage()
1536 AppendImageFormat("Y",image->filename); in WriteCMYKImage()
1537 status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : in WriteCMYKImage()
1541 for (y=0; y < (ssize_t) image->rows; y++) in WriteCMYKImage()
1546 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteCMYKImage()
1549 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteCMYKImage()
1551 count=WriteBlob(image,length,pixels); in WriteCMYKImage()
1555 if (image->previous == (Image *) NULL) in WriteCMYKImage()
1557 status=SetImageProgress(image,SaveImageTag,3,6); in WriteCMYKImage()
1561 (void) CloseBlob(image); in WriteCMYKImage()
1562 AppendImageFormat("K",image->filename); in WriteCMYKImage()
1563 status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : in WriteCMYKImage()
1567 for (y=0; y < (ssize_t) image->rows; y++) in WriteCMYKImage()
1572 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteCMYKImage()
1575 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteCMYKImage()
1577 count=WriteBlob(image,length,pixels); in WriteCMYKImage()
1581 if (image->previous == (Image *) NULL) in WriteCMYKImage()
1583 status=SetImageProgress(image,SaveImageTag,4,6); in WriteCMYKImage()
1589 (void) CloseBlob(image); in WriteCMYKImage()
1590 AppendImageFormat("A",image->filename); in WriteCMYKImage()
1591 status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : in WriteCMYKImage()
1595 for (y=0; y < (ssize_t) image->rows; y++) in WriteCMYKImage()
1600 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteCMYKImage()
1603 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteCMYKImage()
1605 count=WriteBlob(image,length,pixels); in WriteCMYKImage()
1609 if (image->previous == (Image *) NULL) in WriteCMYKImage()
1611 status=SetImageProgress(image,SaveImageTag,5,6); in WriteCMYKImage()
1616 (void) CloseBlob(image); in WriteCMYKImage()
1617 (void) CopyMagickString(image->filename,image_info->filename, in WriteCMYKImage()
1619 if (image->previous == (Image *) NULL) in WriteCMYKImage()
1621 status=SetImageProgress(image,SaveImageTag,6,6); in WriteCMYKImage()
1629 if (GetNextImageInList(image) == (Image *) NULL) in WriteCMYKImage()
1631 image=SyncNextImageInList(image); in WriteCMYKImage()
1632 status=SetImageProgress(image,SaveImagesTag,scene++,imageListLength); in WriteCMYKImage()
1636 (void) CloseBlob(image); in WriteCMYKImage()