/// <summary> /// Initializes this instance. /// </summary> public override void Initialize(string targetInputfileName) { var targetBitmap = this.InititializeSame(targetInputfileName); /// var targetBitmap = img var fit = new FitnessBitmap(targetBitmap); fitness = fit; base.Initialize(targetInputfileName); }
/// <summary> /// Initializes this instance. /// </summary> public override void Initialize(object target) { var targetBitmap = this.InititializeSame(target); /// var targetBitmap = img var fit = new FitnessBitmap(targetBitmap); fitness = fit; base.Initialize(target); }
/// <summary> /// Initializes this instance. /// </summary> public override void Initialize(object target, string targetInputfileName) { var targetBitmap = target as Bitmap; width = targetBitmap.Width; height = targetBitmap.Height; rawWidth = width; rawHeight = height; /// var targetBitmap = img var fit = new FitnessBitmap(targetBitmap); fitness = fit; base.Initialize(targetInputfileName); }