Interface IScalingAlgorithm
- All Known Implementing Classes:
-
AverageCalculationAlgorithm
,DroppingAlgorithm
public interface IScalingAlgorithm
Defines an algorithm of bitmap image scaling.
-
Method Summary
Modifier and TypeMethodDescriptionscale
(BitmapImagePixels original, double scaling) Scales a bitmap image.
-
Method Details
-
scale
Scales a bitmap image.- Parameters:
-
original
- is an image to scale presented asBitmapImagePixels
-
scaling
- is a scaling coefficient. Should be in (0, 1] range - Returns:
- scaled image
-