public ImageWithName(Bitmap img, string name) { image = BitmapPixelConverter.BitmapToPixels(img); this.name = name; height = img.Height; width = img.Width; }
public Bitmap GetBitmap() { return(BitmapPixelConverter.PixelsToBitmap(image, width, height)); }