Interface
IOfficeRasterImageCodec
OfficeIMO.Drawing
Optional image-codec boundary for formats not decoded by the dependency-free Drawing core.
Usage
Explore 10 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 5
- Property OfficeDrawingRasterRenderOptions.ImageCodec
- Property OfficeImageExportOptions.ImageCodec
- Property OfficeRasterDecodeOptions.ImageCodec
- Property OfficeRasterImageCodecs.Platform
- Property OfficeRenderingProfile.ImageCodec
Accepted by parameters 5
Methods
public abstract bool TryDecode(byte[] encodedBytes, string? contentType, out OfficeRasterImage? image) #Attempts to decode encoded image bytes into an RGBA raster.
Parameters
- encodedBytes byte[]
- contentType string?
- image OfficeIMO.Drawing.OfficeRasterImage?
Returns
bool