BitmapEncoder.BitmapTransform Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A BitmapTransform object that is used to specify how the frame bitmap is to be transformed.
public:
property BitmapTransform ^ BitmapTransform { BitmapTransform ^ get(); };
BitmapTransform BitmapTransform();
public BitmapTransform BitmapTransform { get; }
var bitmapTransform = bitmapEncoder.bitmapTransform;
Public ReadOnly Property BitmapTransform As BitmapTransform
Property Value
A BitmapTransform object that is used to specify how the frame bitmap is to be transformed.
Remarks
If you try scale an image stored in an indexed pixel format using the BitmapTransform member, FlushAsync fails with HRESULT WINCODEC_ERR_INVALIDPARAMETER . Instead, you must use GetPixelDataAsync to obtain the scaled pixel data and then use SetPixelData to set it on the encoder.