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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for