Lines Matching refs:canvas_image
107 *canvas_image, in ReadBGRImage() local
160 canvas_image=CloneImage(image,image->extract_info.width,1,MagickFalse, in ReadBGRImage()
162 if (canvas_image == (Image *) NULL) in ReadBGRImage()
164 (void) SetImageVirtualPixelMethod(canvas_image,BlackVirtualPixelMethod, in ReadBGRImage()
166 quantum_info=AcquireQuantumInfo(image_info,canvas_image); in ReadBGRImage()
169 canvas_image=DestroyImage(canvas_image); in ReadBGRImage()
177 canvas_image->alpha_trait=BlendPixelTrait; in ReadBGRImage()
183 canvas_image->alpha_trait=BlendPixelTrait; in ReadBGRImage()
193 length=GetQuantumExtent(canvas_image,quantum_info,quantum_type); in ReadBGRImage()
227 length=GetQuantumExtent(canvas_image,quantum_info,quantum_type); in ReadBGRImage()
249 q=GetAuthenticPixels(canvas_image,0,0,canvas_image->columns,1, in ReadBGRImage()
253 length=ImportQuantumPixels(canvas_image,(CacheView *) NULL, in ReadBGRImage()
255 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadBGRImage()
260 p=GetVirtualPixels(canvas_image,canvas_image->extract_info.x,0, in ReadBGRImage()
261 canvas_image->columns,1,exception); 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()
274 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadBGRImage()
275 p+=GetPixelChannels(canvas_image); in ReadBGRImage()
309 length=GetQuantumExtent(canvas_image,quantum_info,RedQuantum); in ReadBGRImage()
334 q=GetAuthenticPixels(canvas_image,0,0,canvas_image->columns,1, in ReadBGRImage()
338 length=ImportQuantumPixels(canvas_image,(CacheView *) NULL, in ReadBGRImage()
340 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadBGRImage()
345 p=GetVirtualPixels(canvas_image,canvas_image->extract_info.x,0, in ReadBGRImage()
346 canvas_image->columns,1,exception); 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()
384 p+=GetPixelChannels(canvas_image); in ReadBGRImage()
410 length=GetQuantumExtent(canvas_image,quantum_info,RedQuantum); in ReadBGRImage()
432 q=GetAuthenticPixels(canvas_image,0,0,canvas_image->columns,1, in ReadBGRImage()
436 length=ImportQuantumPixels(canvas_image,(CacheView *) NULL, in ReadBGRImage()
438 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadBGRImage()
443 p=GetVirtualPixels(canvas_image,canvas_image->extract_info.x,0, in ReadBGRImage()
444 canvas_image->columns,1,exception); in ReadBGRImage()
452 SetPixelRed(image,GetPixelRed(canvas_image,p),q); in ReadBGRImage()
453 p+=GetPixelChannels(canvas_image); in ReadBGRImage()
486 q=GetAuthenticPixels(canvas_image,0,0,canvas_image->columns,1, in ReadBGRImage()
490 length=ImportQuantumPixels(canvas_image,(CacheView *) NULL, in ReadBGRImage()
492 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadBGRImage()
497 p=GetVirtualPixels(canvas_image,canvas_image->extract_info.x,0, in ReadBGRImage()
498 canvas_image->columns,1,exception); in ReadBGRImage()
506 SetPixelGreen(image,GetPixelGreen(canvas_image,p),q); in ReadBGRImage()
507 p+=GetPixelChannels(canvas_image); in ReadBGRImage()
540 q=GetAuthenticPixels(canvas_image,0,0,canvas_image->columns,1, in ReadBGRImage()
544 length=ImportQuantumPixels(canvas_image,(CacheView *) NULL, in ReadBGRImage()
546 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadBGRImage()
551 p=GetVirtualPixels(canvas_image,canvas_image->extract_info.x,0, in ReadBGRImage()
552 canvas_image->columns,1,exception); in ReadBGRImage()
560 SetPixelBlue(image,GetPixelBlue(canvas_image,p),q); in ReadBGRImage()
561 p+=GetPixelChannels(canvas_image); in ReadBGRImage()
602 q=GetAuthenticPixels(canvas_image,0,0,canvas_image->columns,1, in ReadBGRImage()
606 length=ImportQuantumPixels(canvas_image,(CacheView *) NULL, in ReadBGRImage()
608 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadBGRImage()
613 p=GetVirtualPixels(canvas_image, in ReadBGRImage()
614 canvas_image->extract_info.x,0,canvas_image->columns,1, in ReadBGRImage()
623 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadBGRImage()
624 p+=GetPixelChannels(canvas_image); in ReadBGRImage()
664 length=GetQuantumExtent(canvas_image,quantum_info,BlueQuantum); in ReadBGRImage()
697 q=GetAuthenticPixels(canvas_image,0,0,canvas_image->columns,1, in ReadBGRImage()
701 length=ImportQuantumPixels(canvas_image,(CacheView *) NULL, in ReadBGRImage()
703 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadBGRImage()
708 p=GetVirtualPixels(canvas_image,canvas_image->extract_info.x,0, in ReadBGRImage()
709 canvas_image->columns,1,exception); in ReadBGRImage()
717 SetPixelRed(image,GetPixelRed(canvas_image,p),q); in ReadBGRImage()
718 p+=GetPixelChannels(canvas_image); in ReadBGRImage()
738 length=GetQuantumExtent(canvas_image,quantum_info,GreenQuantum); in ReadBGRImage()
771 q=GetAuthenticPixels(canvas_image,0,0,canvas_image->columns,1, in ReadBGRImage()
775 length=ImportQuantumPixels(canvas_image,(CacheView *) NULL, in ReadBGRImage()
777 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadBGRImage()
782 p=GetVirtualPixels(canvas_image,canvas_image->extract_info.x,0, in ReadBGRImage()
783 canvas_image->columns,1,exception); in ReadBGRImage()
791 SetPixelGreen(image,GetPixelGreen(canvas_image,p),q); in ReadBGRImage()
792 p+=GetPixelChannels(canvas_image); in ReadBGRImage()
812 length=GetQuantumExtent(canvas_image,quantum_info,RedQuantum); in ReadBGRImage()
845 q=GetAuthenticPixels(canvas_image,0,0,canvas_image->columns,1, in ReadBGRImage()
849 length=ImportQuantumPixels(canvas_image,(CacheView *) NULL, in ReadBGRImage()
851 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadBGRImage()
856 p=GetVirtualPixels(canvas_image,canvas_image->extract_info.x,0, in ReadBGRImage()
857 canvas_image->columns,1,exception); in ReadBGRImage()
865 SetPixelBlue(image,GetPixelBlue(canvas_image,p),q); in ReadBGRImage()
866 p+=GetPixelChannels(canvas_image); in ReadBGRImage()
888 length=GetQuantumExtent(canvas_image,quantum_info,AlphaQuantum); in ReadBGRImage()
921 q=GetAuthenticPixels(canvas_image,0,0,canvas_image->columns,1, in ReadBGRImage()
925 length=ImportQuantumPixels(canvas_image,(CacheView *) NULL, in ReadBGRImage()
927 if (SyncAuthenticPixels(canvas_image,exception) == MagickFalse) in ReadBGRImage()
932 p=GetVirtualPixels(canvas_image,canvas_image->extract_info.x, in ReadBGRImage()
933 0,canvas_image->columns,1,exception); in ReadBGRImage()
941 SetPixelAlpha(image,GetPixelAlpha(canvas_image,p),q); in ReadBGRImage()
942 p+=GetPixelChannels(canvas_image); in ReadBGRImage()
997 canvas_image=DestroyImage(canvas_image); in ReadBGRImage()