BitmapDecoder class

Provides read access to bitmap container data as well as data from the first frame.

Implemented types

Constructors

BitmapDecoder.fromPtr(Pointer<COMObject> ptr)

Properties

bitmapAlphaMode BitmapAlphaMode
no setteroverride
bitmapContainerProperties BitmapPropertiesView?
no setteroverride
bitmapPixelFormat BitmapPixelFormat
no setteroverride
bitmapProperties BitmapPropertiesView?
no setteroverride
decoderInformation BitmapCodecInformation?
no setteroverride
dpiX double
no setteroverride
dpiY double
no setteroverride
frameCount int
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
orientedPixelHeight int
no setteroverride
orientedPixelWidth int
no setteroverride
pixelHeight int
no setteroverride
pixelWidth int
no setteroverride
ptr Pointer<COMObject>
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addRef() int
Increments the reference count for an interface pointer to a COM object.
inherited
detach() → void
Detaches the object from the Finalizer.
inherited
getFrameAsync(int frameIndex) Future<BitmapFrame?>
override
getIids(Pointer<Uint32> iidCount, Pointer<Pointer<GUID>> iids) int
inherited
getPixelDataAsync() Future<PixelDataProvider?>
override
getPixelDataTransformedAsync(BitmapPixelFormat pixelFormat, BitmapAlphaMode alphaMode, BitmapTransform? transform, ExifOrientationMode exifOrientationMode, ColorManagementMode colorManagementMode) Future<PixelDataProvider?>
override
getPreviewAsync() Future<ImageStream?>
override
getRuntimeClassName(Pointer<IntPtr> className) int
inherited
getSoftwareBitmapAsync() Future<SoftwareBitmap?>
override
getSoftwareBitmapConvertedAsync(BitmapPixelFormat pixelFormat, BitmapAlphaMode alphaMode) Future<SoftwareBitmap?>
override
getSoftwareBitmapTransformedAsync(BitmapPixelFormat pixelFormat, BitmapAlphaMode alphaMode, BitmapTransform? transform, ExifOrientationMode exifOrientationMode, ColorManagementMode colorManagementMode) Future<SoftwareBitmap?>
override
getThumbnailAsync() Future<ImageStream?>
override
getTrustLevel(Pointer<Int32> trustLevel) int
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryInterface(Pointer<GUID> riid, Pointer<Pointer<NativeType>> ppvObject) int
Queries a COM object for a pointer to one of its interface; identifying the interface by a reference to its interface identifier (IID).
inherited
release() int
Decrements the reference count for an interface on a COM object.
inherited
toInterface(String iid) Pointer<COMObject>
Cast an existing COM object to a specified interface.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

bmpDecoderId → Guid
no setter
gifDecoderId → Guid
no setter
heifDecoderId → Guid
no setter
icoDecoderId → Guid
no setter
jpegDecoderId → Guid
no setter
jpegXRDecoderId → Guid
no setter
pngDecoderId → Guid
no setter
tiffDecoderId → Guid
no setter
webpDecoderId → Guid
no setter

Static Methods

createAsync(IRandomAccessStream? stream) Future<BitmapDecoder?>
createWithIdAsync(Guid decoderId, IRandomAccessStream? stream) Future<BitmapDecoder?>
getDecoderInformationEnumerator() List<BitmapCodecInformation?>