• Home
  • Raw
  • Download

Lines Matching full:image

13 %                     Read/Write RAW CMYK Image Format                        %
51 #include "MagickCore/image.h"
52 #include "MagickCore/image-private.h"
70 WriteCMYKImage(const ImageInfo *,Image *,ExceptionInfo *);
83 % ReadCMYKImage() reads an image of raw CMYK or CMYKA samples and returns it.
84 % It allocates the memory necessary for the new Image structure and returns a
85 % pointer to the new image.
89 % Image *ReadCMYKImage(const ImageInfo *image_info,
94 % o image_info: the image info.
99 static Image *ReadCMYKImage(const ImageInfo *image_info, in ReadCMYKImage()
105 Image in ReadCMYKImage()
107 *image; in ReadCMYKImage() local
135 Open image file. in ReadCMYKImage()
144 image=AcquireImage(image_info,exception); in ReadCMYKImage()
145 if ((image->columns == 0) || (image->rows == 0)) in ReadCMYKImage()
147 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadCMYKImage()
149 return(DestroyImageList(image)); in ReadCMYKImage()
150 (void) SetImageColorspace(image,CMYKColorspace,exception); in ReadCMYKImage()
153 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadCMYKImage()
156 image=DestroyImageList(image); in ReadCMYKImage()
157 return((Image *) NULL); in ReadCMYKImage()
159 if (DiscardBlobBytes(image,(MagickSizeType) image->offset) == MagickFalse) in ReadCMYKImage()
161 image->filename); in ReadCMYKImage()
164 Create virtual canvas to support cropping (i.e. image.cmyk[100x100+10+20]). in ReadCMYKImage()
166 canvas_image=CloneImage(image,image->extract_info.width,1,MagickFalse, in ReadCMYKImage()
168 if (canvas_image == (Image *) NULL) in ReadCMYKImage()
182 image->alpha_trait=BlendPixelTrait; in ReadCMYKImage()
186 while (image->scene < image_info->scene) in ReadCMYKImage()
189 Skip to next image. in ReadCMYKImage()
191 image->scene++; in ReadCMYKImage()
193 for (y=0; y < (ssize_t) image->rows; y++) in ReadCMYKImage()
195 stream=ReadBlobStream(image,length,pixels,&count); in ReadCMYKImage()
208 Read pixels to virtual canvas image then push to image. in ReadCMYKImage()
211 if (image->scene >= (image_info->scene+image_info->number_scenes-1)) in ReadCMYKImage()
213 status=SetImageExtent(image,image->columns,image->rows,exception); in ReadCMYKImage()
216 if (SetImageColorspace(image,CMYKColorspace,exception) == MagickFalse) in ReadCMYKImage()
229 stream=ReadBlobStream(image,length,pixels,&count); in ReadCMYKImage()
231 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadCMYKImage()
246 "UnexpectedEndOfFile",image->filename); in ReadCMYKImage()
257 if (((y-image->extract_info.y) >= 0) && in ReadCMYKImage()
258 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadCMYKImage()
262 q=QueueAuthenticPixels(image,0,y-image->extract_info.y, in ReadCMYKImage()
263 image->columns,1,exception); in ReadCMYKImage()
266 for (x=0; x < (ssize_t) image->columns; x++) in ReadCMYKImage()
268 SetPixelRed(image,GetPixelRed(canvas_image,p),q); in ReadCMYKImage()
269 SetPixelGreen(image,GetPixelGreen(canvas_image,p),q); in ReadCMYKImage()
270 SetPixelBlue(image,GetPixelBlue(canvas_image,p),q); in ReadCMYKImage()
271 SetPixelBlack(image,GetPixelBlack(canvas_image,p),q); in ReadCMYKImage()
272 SetPixelAlpha(image,OpaqueAlpha,q); in ReadCMYKImage()
273 if (image->alpha_trait != UndefinedPixelTrait) in ReadCMYKImage()
274 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadCMYKImage()
276 q+=GetPixelChannels(image); in ReadCMYKImage()
278 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadCMYKImage()
281 if (image->previous == (Image *) NULL) in ReadCMYKImage()
283 status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, in ReadCMYKImage()
284 image->rows); in ReadCMYKImage()
288 stream=ReadBlobStream(image,length,pixels,&count); in ReadCMYKImage()
310 stream=ReadBlobStream(image,length,pixels,&count); 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 stream=ReadBlobStream(image,length,pixels,&count); in ReadCMYKImage()
390 if (image->previous == (Image *) NULL) in ReadCMYKImage()
392 status=SetImageProgress(image,LoadImageTag,(MagickOffsetType) y, in ReadCMYKImage()
393 image->rows); in ReadCMYKImage()
408 stream=ReadBlobStream(image,length,pixels,&count); in ReadCMYKImage()
410 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadCMYKImage()
425 "UnexpectedEndOfFile",image->filename); in ReadCMYKImage()
436 if (((y-image->extract_info.y) >= 0) && in ReadCMYKImage()
437 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadCMYKImage()
441 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadCMYKImage()
442 image->columns,1,exception); in ReadCMYKImage()
445 for (x=0; x < (ssize_t) image->columns; x++) in ReadCMYKImage()
447 SetPixelRed(image,GetPixelRed(canvas_image,p),q); in ReadCMYKImage()
449 q+=GetPixelChannels(image); in ReadCMYKImage()
451 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadCMYKImage()
454 stream=ReadBlobStream(image,length,pixels,&count); in ReadCMYKImage()
456 if (image->previous == (Image *) NULL) in ReadCMYKImage()
458 status=SetImageProgress(image,LoadImageTag,1,6); in ReadCMYKImage()
462 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadCMYKImage()
477 "UnexpectedEndOfFile",image->filename); in ReadCMYKImage()
488 if (((y-image->extract_info.y) >= 0) && in ReadCMYKImage()
489 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadCMYKImage()
493 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadCMYKImage()
494 image->columns,1,exception); in ReadCMYKImage()
497 for (x=0; x < (ssize_t) image->columns; x++) in ReadCMYKImage()
499 SetPixelGreen(image,GetPixelGreen(canvas_image,p),q); in ReadCMYKImage()
501 q+=GetPixelChannels(image); in ReadCMYKImage()
503 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadCMYKImage()
506 stream=ReadBlobStream(image,length,pixels,&count); in ReadCMYKImage()
508 if (image->previous == (Image *) NULL) in ReadCMYKImage()
510 status=SetImageProgress(image,LoadImageTag,2,6); in ReadCMYKImage()
514 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadCMYKImage()
529 "UnexpectedEndOfFile",image->filename); in ReadCMYKImage()
540 if (((y-image->extract_info.y) >= 0) && in ReadCMYKImage()
541 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadCMYKImage()
545 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadCMYKImage()
546 image->columns,1,exception); in ReadCMYKImage()
549 for (x=0; x < (ssize_t) image->columns; x++) in ReadCMYKImage()
551 SetPixelBlue(image,GetPixelBlue(canvas_image,p),q); in ReadCMYKImage()
553 q+=GetPixelChannels(image); in ReadCMYKImage()
555 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadCMYKImage()
558 stream=ReadBlobStream(image,length,pixels,&count); in ReadCMYKImage()
560 if (image->previous == (Image *) NULL) in ReadCMYKImage()
562 status=SetImageProgress(image,LoadImageTag,3,6); in ReadCMYKImage()
566 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadCMYKImage()
581 "UnexpectedEndOfFile",image->filename); in ReadCMYKImage()
592 if (((y-image->extract_info.y) >= 0) && in ReadCMYKImage()
593 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadCMYKImage()
597 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadCMYKImage()
598 image->columns,1,exception); in ReadCMYKImage()
601 for (x=0; x < (ssize_t) image->columns; x++) in ReadCMYKImage()
603 SetPixelBlack(image,GetPixelBlack(canvas_image,p),q); in ReadCMYKImage()
605 q+=GetPixelChannels(image); in ReadCMYKImage()
607 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadCMYKImage()
610 stream=ReadBlobStream(image,length,pixels,&count); in ReadCMYKImage()
612 if (image->previous == (Image *) NULL) in ReadCMYKImage()
614 status=SetImageProgress(image,LoadImageTag,4,6); in ReadCMYKImage()
618 if (image->alpha_trait != UndefinedPixelTrait) in ReadCMYKImage()
620 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadCMYKImage()
635 "UnexpectedEndOfFile",image->filename); in ReadCMYKImage()
646 if (((y-image->extract_info.y) >= 0) && in ReadCMYKImage()
647 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadCMYKImage()
652 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadCMYKImage()
653 image->columns,1,exception); in ReadCMYKImage()
656 for (x=0; x < (ssize_t) image->columns; x++) in ReadCMYKImage()
658 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadCMYKImage()
660 q+=GetPixelChannels(image); in ReadCMYKImage()
662 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadCMYKImage()
665 stream=ReadBlobStream(image,length,pixels,&count); in ReadCMYKImage()
667 if (image->previous == (Image *) NULL) in ReadCMYKImage()
669 status=SetImageProgress(image,LoadImageTag,5,6); in ReadCMYKImage()
674 if (image->previous == (Image *) NULL) in ReadCMYKImage()
676 status=SetImageProgress(image,LoadImageTag,6,6); in ReadCMYKImage()
687 AppendImageFormat("C",image->filename); in ReadCMYKImage()
688 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadCMYKImage()
691 if (DiscardBlobBytes(image,(MagickSizeType) image->offset) == MagickFalse) in ReadCMYKImage()
695 image->filename); in ReadCMYKImage()
701 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadCMYKImage()
703 stream=ReadBlobStream(image,length,pixels,&count); in ReadCMYKImage()
710 stream=ReadBlobStream(image,length,pixels,&count); in ReadCMYKImage()
711 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadCMYKImage()
726 "UnexpectedEndOfFile",image->filename); in ReadCMYKImage()
737 if (((y-image->extract_info.y) >= 0) && in ReadCMYKImage()
738 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadCMYKImage()
742 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadCMYKImage()
743 image->columns,1,exception); in ReadCMYKImage()
746 for (x=0; x < (ssize_t) image->columns; x++) in ReadCMYKImage()
748 SetPixelRed(image,GetPixelRed(canvas_image,p),q); in ReadCMYKImage()
750 q+=GetPixelChannels(image); in ReadCMYKImage()
752 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadCMYKImage()
755 stream=ReadBlobStream(image,length,pixels,&count); in ReadCMYKImage()
757 if (image->previous == (Image *) NULL) in ReadCMYKImage()
759 status=SetImageProgress(image,LoadImageTag,1,5); in ReadCMYKImage()
763 (void) CloseBlob(image); in ReadCMYKImage()
764 AppendImageFormat("M",image->filename); in ReadCMYKImage()
765 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadCMYKImage()
771 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadCMYKImage()
773 stream=ReadBlobStream(image,length,pixels,&count); in ReadCMYKImage()
780 stream=ReadBlobStream(image,length,pixels,&count); in ReadCMYKImage()
781 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadCMYKImage()
796 "UnexpectedEndOfFile",image->filename); in ReadCMYKImage()
807 if (((y-image->extract_info.y) >= 0) && in ReadCMYKImage()
808 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadCMYKImage()
812 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadCMYKImage()
813 image->columns,1,exception); in ReadCMYKImage()
816 for (x=0; x < (ssize_t) image->columns; x++) in ReadCMYKImage()
818 SetPixelGreen(image,GetPixelGreen(canvas_image,p),q); in ReadCMYKImage()
820 q+=GetPixelChannels(image); in ReadCMYKImage()
822 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadCMYKImage()
825 stream=ReadBlobStream(image,length,pixels,&count); in ReadCMYKImage()
827 if (image->previous == (Image *) NULL) in ReadCMYKImage()
829 status=SetImageProgress(image,LoadImageTag,2,5); in ReadCMYKImage()
833 (void) CloseBlob(image); in ReadCMYKImage()
834 AppendImageFormat("Y",image->filename); in ReadCMYKImage()
835 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadCMYKImage()
841 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadCMYKImage()
843 stream=ReadBlobStream(image,length,pixels,&count); in ReadCMYKImage()
850 stream=ReadBlobStream(image,length,pixels,&count); in ReadCMYKImage()
851 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadCMYKImage()
866 "UnexpectedEndOfFile",image->filename); in ReadCMYKImage()
877 if (((y-image->extract_info.y) >= 0) && in ReadCMYKImage()
878 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadCMYKImage()
882 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadCMYKImage()
883 image->columns,1,exception); in ReadCMYKImage()
887 for (x=0; x < (ssize_t) image->columns; x++) in ReadCMYKImage()
889 SetPixelBlue(image,GetPixelBlue(canvas_image,p),q); in ReadCMYKImage()
891 q+=GetPixelChannels(image); in ReadCMYKImage()
893 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadCMYKImage()
896 stream=ReadBlobStream(image,length,pixels,&count); in ReadCMYKImage()
898 if (image->previous == (Image *) NULL) in ReadCMYKImage()
900 status=SetImageProgress(image,LoadImageTag,3,5); in ReadCMYKImage()
904 (void) CloseBlob(image); in ReadCMYKImage()
905 AppendImageFormat("K",image->filename); in ReadCMYKImage()
906 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadCMYKImage()
912 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadCMYKImage()
914 stream=ReadBlobStream(image,length,pixels,&count); in ReadCMYKImage()
921 stream=ReadBlobStream(image,length,pixels,&count); in ReadCMYKImage()
922 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadCMYKImage()
937 "UnexpectedEndOfFile",image->filename); in ReadCMYKImage()
948 if (((y-image->extract_info.y) >= 0) && in ReadCMYKImage()
949 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadCMYKImage()
953 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadCMYKImage()
954 image->columns,1,exception); in ReadCMYKImage()
958 for (x=0; x < (ssize_t) image->columns; x++) in ReadCMYKImage()
960 SetPixelBlack(image,GetPixelBlack(canvas_image,p),q); in ReadCMYKImage()
962 q+=GetPixelChannels(image); in ReadCMYKImage()
964 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadCMYKImage()
967 stream=ReadBlobStream(image,length,pixels,&count); in ReadCMYKImage()
969 if (image->previous == (Image *) NULL) in ReadCMYKImage()
971 status=SetImageProgress(image,LoadImageTag,3,5); in ReadCMYKImage()
975 if (image->alpha_trait != UndefinedPixelTrait) in ReadCMYKImage()
977 (void) CloseBlob(image); in ReadCMYKImage()
978 AppendImageFormat("A",image->filename); in ReadCMYKImage()
979 status=OpenBlob(image_info,image,ReadBinaryBlobMode,exception); in ReadCMYKImage()
985 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadCMYKImage()
987 stream=ReadBlobStream(image,length,pixels,&count); in ReadCMYKImage()
994 stream=ReadBlobStream(image,length,pixels,&count); in ReadCMYKImage()
995 for (y=0; y < (ssize_t) image->extract_info.height; y++) in ReadCMYKImage()
1010 "UnexpectedEndOfFile",image->filename); in ReadCMYKImage()
1021 if (((y-image->extract_info.y) >= 0) && in ReadCMYKImage()
1022 ((y-image->extract_info.y) < (ssize_t) image->rows)) in ReadCMYKImage()
1026 q=GetAuthenticPixels(image,0,y-image->extract_info.y, in ReadCMYKImage()
1027 image->columns,1,exception); in ReadCMYKImage()
1031 for (x=0; x < (ssize_t) image->columns; x++) in ReadCMYKImage()
1033 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadCMYKImage()
1035 q+=GetPixelChannels(image); in ReadCMYKImage()
1037 if (SyncAuthenticPixels(image,exception) == MagickFalse) in ReadCMYKImage()
1040 stream=ReadBlobStream(image,length,pixels,&count); in ReadCMYKImage()
1042 if (image->previous == (Image *) NULL) in ReadCMYKImage()
1044 status=SetImageProgress(image,LoadImageTag,4,5); in ReadCMYKImage()
1049 if (image->previous == (Image *) NULL) in ReadCMYKImage()
1051 status=SetImageProgress(image,LoadImageTag,5,5); in ReadCMYKImage()
1060 SetQuantumImageType(image,quantum_type); in ReadCMYKImage()
1062 Proceed to next image. in ReadCMYKImage()
1065 if (image->scene >= (image_info->scene+image_info->number_scenes-1)) in ReadCMYKImage()
1070 Allocate next image structure. in ReadCMYKImage()
1072 AcquireNextImage(image_info,image,exception); in ReadCMYKImage()
1073 if (GetNextImageInList(image) == (Image *) NULL) in ReadCMYKImage()
1078 image=SyncNextImageInList(image); in ReadCMYKImage()
1079 status=SetImageProgress(image,LoadImagesTag,TellBlob(image), in ReadCMYKImage()
1080 GetBlobSize(image)); in ReadCMYKImage()
1088 (void) CloseBlob(image); in ReadCMYKImage()
1090 return(DestroyImageList(image)); in ReadCMYKImage()
1091 return(GetFirstImageInList(image)); in ReadCMYKImage()
1105 % RegisterCMYKImage() adds attributes for the CMYK image format to
1106 % the list of supported formats. The attributes include the image format
1175 % WriteCMYKImage() writes an image to a file in cyan, magenta, yellow, and
1181 % Image *image,ExceptionInfo *exception)
1185 % o image_info: the image info.
1187 % o image: The image.
1193 Image *image,ExceptionInfo *exception) in WriteCMYKImage() argument
1223 assert(image != (Image *) NULL); in WriteCMYKImage()
1224 assert(image->signature == MagickCoreSignature); in WriteCMYKImage()
1225 if (image->debug != MagickFalse) in WriteCMYKImage()
1226 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); in WriteCMYKImage()
1230 Open output image file. in WriteCMYKImage()
1232 status=OpenBlob(image_info,image,WriteBinaryBlobMode,exception); in WriteCMYKImage()
1237 imageListLength=GetImageListLength(image); in WriteCMYKImage()
1243 if (image->colorspace != CMYKColorspace) in WriteCMYKImage()
1244 (void) TransformImageColorspace(image,CMYKColorspace,exception); in WriteCMYKImage()
1249 if (image->alpha_trait == UndefinedPixelTrait) in WriteCMYKImage()
1250 (void) SetImageAlphaChannel(image,OpaqueAlphaChannel,exception); in WriteCMYKImage()
1252 quantum_info=AcquireQuantumInfo(image_info,image); in WriteCMYKImage()
1264 for (y=0; y < (ssize_t) image->rows; y++) in WriteCMYKImage()
1269 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteCMYKImage()
1272 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteCMYKImage()
1274 count=WriteBlob(image,length,pixels); in WriteCMYKImage()
1277 if (image->previous == (Image *) NULL) in WriteCMYKImage()
1279 status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, in WriteCMYKImage()
1280 image->rows); in WriteCMYKImage()
1292 for (y=0; y < (ssize_t) image->rows; y++) in WriteCMYKImage()
1297 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteCMYKImage()
1300 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteCMYKImage()
1302 count=WriteBlob(image,length,pixels); in WriteCMYKImage()
1305 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteCMYKImage()
1307 count=WriteBlob(image,length,pixels); in WriteCMYKImage()
1310 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteCMYKImage()
1312 count=WriteBlob(image,length,pixels); in WriteCMYKImage()
1315 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteCMYKImage()
1317 count=WriteBlob(image,length,pixels); in WriteCMYKImage()
1322 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteCMYKImage()
1324 count=WriteBlob(image,length,pixels); in WriteCMYKImage()
1328 if (image->previous == (Image *) NULL) in WriteCMYKImage()
1330 status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y, in WriteCMYKImage()
1331 image->rows); in WriteCMYKImage()
1343 for (y=0; y < (ssize_t) image->rows; y++) in WriteCMYKImage()
1348 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteCMYKImage()
1351 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteCMYKImage()
1353 count=WriteBlob(image,length,pixels); in WriteCMYKImage()
1357 if (image->previous == (Image *) NULL) in WriteCMYKImage()
1359 status=SetImageProgress(image,SaveImageTag,1,6); in WriteCMYKImage()
1363 for (y=0; y < (ssize_t) image->rows; y++) in WriteCMYKImage()
1368 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteCMYKImage()
1371 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteCMYKImage()
1373 count=WriteBlob(image,length,pixels); in WriteCMYKImage()
1377 if (image->previous == (Image *) NULL) in WriteCMYKImage()
1379 status=SetImageProgress(image,SaveImageTag,2,6); in WriteCMYKImage()
1383 for (y=0; y < (ssize_t) image->rows; y++) in WriteCMYKImage()
1388 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteCMYKImage()
1391 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteCMYKImage()
1393 count=WriteBlob(image,length,pixels); in WriteCMYKImage()
1397 if (image->previous == (Image *) NULL) in WriteCMYKImage()
1399 status=SetImageProgress(image,SaveImageTag,3,6); in WriteCMYKImage()
1403 for (y=0; y < (ssize_t) image->rows; y++) in WriteCMYKImage()
1408 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteCMYKImage()
1411 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteCMYKImage()
1413 count=WriteBlob(image,length,pixels); in WriteCMYKImage()
1417 if (image->previous == (Image *) NULL) in WriteCMYKImage()
1419 status=SetImageProgress(image,SaveImageTag,4,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,5,6); in WriteCMYKImage()
1447 (void) CopyMagickString(image->filename,image_info->filename, in WriteCMYKImage()
1449 if (image->previous == (Image *) NULL) in WriteCMYKImage()
1451 status=SetImageProgress(image,SaveImageTag,6,6); in WriteCMYKImage()
1462 AppendImageFormat("C",image->filename); in WriteCMYKImage()
1463 status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : in WriteCMYKImage()
1467 for (y=0; y < (ssize_t) image->rows; y++) in WriteCMYKImage()
1472 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteCMYKImage()
1475 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteCMYKImage()
1477 count=WriteBlob(image,length,pixels); in WriteCMYKImage()
1481 if (image->previous == (Image *) NULL) in WriteCMYKImage()
1483 status=SetImageProgress(image,SaveImageTag,1,6); in WriteCMYKImage()
1487 (void) CloseBlob(image); in WriteCMYKImage()
1488 AppendImageFormat("M",image->filename); in WriteCMYKImage()
1489 status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : in WriteCMYKImage()
1493 for (y=0; y < (ssize_t) image->rows; y++) in WriteCMYKImage()
1498 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteCMYKImage()
1501 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteCMYKImage()
1503 count=WriteBlob(image,length,pixels); in WriteCMYKImage()
1507 if (image->previous == (Image *) NULL) in WriteCMYKImage()
1509 status=SetImageProgress(image,SaveImageTag,2,6); in WriteCMYKImage()
1513 (void) CloseBlob(image); in WriteCMYKImage()
1514 AppendImageFormat("Y",image->filename); in WriteCMYKImage()
1515 status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : in WriteCMYKImage()
1519 for (y=0; y < (ssize_t) image->rows; y++) in WriteCMYKImage()
1524 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteCMYKImage()
1527 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteCMYKImage()
1529 count=WriteBlob(image,length,pixels); in WriteCMYKImage()
1533 if (image->previous == (Image *) NULL) in WriteCMYKImage()
1535 status=SetImageProgress(image,SaveImageTag,3,6); in WriteCMYKImage()
1539 (void) CloseBlob(image); in WriteCMYKImage()
1540 AppendImageFormat("K",image->filename); in WriteCMYKImage()
1541 status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : in WriteCMYKImage()
1545 for (y=0; y < (ssize_t) image->rows; y++) in WriteCMYKImage()
1550 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteCMYKImage()
1553 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteCMYKImage()
1555 count=WriteBlob(image,length,pixels); in WriteCMYKImage()
1559 if (image->previous == (Image *) NULL) in WriteCMYKImage()
1561 status=SetImageProgress(image,SaveImageTag,4,6); in WriteCMYKImage()
1567 (void) CloseBlob(image); in WriteCMYKImage()
1568 AppendImageFormat("A",image->filename); in WriteCMYKImage()
1569 status=OpenBlob(image_info,image,scene == 0 ? WriteBinaryBlobMode : in WriteCMYKImage()
1573 for (y=0; y < (ssize_t) image->rows; y++) in WriteCMYKImage()
1578 p=GetVirtualPixels(image,0,y,image->columns,1,exception); in WriteCMYKImage()
1581 length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info, in WriteCMYKImage()
1583 count=WriteBlob(image,length,pixels); in WriteCMYKImage()
1587 if (image->previous == (Image *) NULL) in WriteCMYKImage()
1589 status=SetImageProgress(image,SaveImageTag,5,6); in WriteCMYKImage()
1594 (void) CloseBlob(image); in WriteCMYKImage()
1595 (void) CopyMagickString(image->filename,image_info->filename, in WriteCMYKImage()
1597 if (image->previous == (Image *) NULL) in WriteCMYKImage()
1599 status=SetImageProgress(image,SaveImageTag,6,6); in WriteCMYKImage()
1607 if (GetNextImageInList(image) == (Image *) NULL) in WriteCMYKImage()
1609 image=SyncNextImageInList(image); in WriteCMYKImage()
1610 status=SetImageProgress(image,SaveImagesTag,scene++,imageListLength); in WriteCMYKImage()
1614 (void) CloseBlob(image); in WriteCMYKImage()