All Known Implementing Classes:
AverageCalculationAlgorithm, DroppingAlgorithm

public interface IScalingAlgorithm
Defines an algorithm of bitmap image scaling.
  • Method Details

    • scale

      BitmapImagePixels scale (BitmapImagePixels original, double scaling)
      Scales a bitmap image.
      Parameters:
      original - is an image to scale presented as BitmapImagePixels
      scaling - is a scaling coefficient. Should be in (0, 1] range
      Returns:
      scaled image