ConvertConfig.SetOutputScale Method

Definition

Namespace: P1.ImageSdk

Configure scaling of the raw-image

public ConvertConfig SetOutputScale(double scaleFactor);

The resulting resizing might be slightly larger than can be attributed to rounding errors. This is the defined behavior of our resampling algorithm.

Always use the image width/height from resulting BitmapImage.

Parameters:

scaleFactor

Scaling factor. 0.99 is 99%, 0.01 is %1 (0 < valid input).

Returns:

This object itself (this), to allow chaining