Lines Matching refs:image1
166 static MagickBooleanType IsBoundsCleared(const Image *image1, in IsBoundsCleared() argument
183 p=GetVirtualPixels(image1,bounds->x,bounds->y+y,bounds->width,1,exception); in IsBoundsCleared()
189 if ((GetPixelAlpha(image1,p) >= (Quantum) (QuantumRange/2)) && in IsBoundsCleared()
192 p+=GetPixelChannels(image1); in IsBoundsCleared()
613 static RectangleInfo CompareImagesBounds(const Image *image1, in CompareImagesBounds() argument
636 GetPixelInfo(image1,&pixel1); in CompareImagesBounds()
638 for (x=0; x < (ssize_t) image1->columns; x++) in CompareImagesBounds()
640 p=GetVirtualPixels(image1,x,0,1,image1->rows,exception); in CompareImagesBounds()
644 for (y=0; y < (ssize_t) image1->rows; y++) in CompareImagesBounds()
646 GetPixelInfoPixel(image1,p,&pixel1); in CompareImagesBounds()
650 p+=GetPixelChannels(image1); in CompareImagesBounds()
653 if (y < (ssize_t) image1->rows) in CompareImagesBounds()
656 if (x >= (ssize_t) image1->columns) in CompareImagesBounds()
668 for (x=(ssize_t) image1->columns-1; x >= 0; x--) in CompareImagesBounds()
670 p=GetVirtualPixels(image1,x,0,1,image1->rows,exception); in CompareImagesBounds()
674 for (y=0; y < (ssize_t) image1->rows; y++) in CompareImagesBounds()
676 GetPixelInfoPixel(image1,p,&pixel1); in CompareImagesBounds()
680 p+=GetPixelChannels(image1); in CompareImagesBounds()
683 if (y < (ssize_t) image1->rows) in CompareImagesBounds()
687 for (y=0; y < (ssize_t) image1->rows; y++) in CompareImagesBounds()
689 p=GetVirtualPixels(image1,0,y,image1->columns,1,exception); in CompareImagesBounds()
693 for (x=0; x < (ssize_t) image1->columns; x++) in CompareImagesBounds()
695 GetPixelInfoPixel(image1,p,&pixel1); in CompareImagesBounds()
699 p+=GetPixelChannels(image1); in CompareImagesBounds()
702 if (x < (ssize_t) image1->columns) in CompareImagesBounds()
706 for (y=(ssize_t) image1->rows-1; y >= 0; y--) in CompareImagesBounds()
708 p=GetVirtualPixels(image1,0,y,image1->columns,1,exception); in CompareImagesBounds()
712 for (x=0; x < (ssize_t) image1->columns; x++) in CompareImagesBounds()
714 GetPixelInfoPixel(image1,p,&pixel1); in CompareImagesBounds()
718 p+=GetPixelChannels(image1); in CompareImagesBounds()
721 if (x < (ssize_t) image1->columns) in CompareImagesBounds()