Beispiel #1
0
 public GrayscaleImageData(Image image)
 {
     using (Bitmap grayScaleImage = ImageEdit.MakeGrayscale(image))
         data = ImageEdit.GetIntensityBytesFrom(grayScaleImage);
     Width  = image.Width;
     Height = image.Height;
 }
Beispiel #2
0
        internal bool IsInside(int x, int y)
        {
            if (x < minX || x > maxX || y < minY || y > maxY)
            {
                return(false);
            }

            return(ImageEdit.IsInside(points, x, y));
        }