IImageDecoder interface
Decodes encoded image bytes into a Bgra32PixelBuffer.
public interface IImageDecoderMembers
Section titled “Members”| name | description |
|---|---|
| Id { get; } | Gets a stable identifier for this decoder (for example “png”, “jpeg”, “webp”), used for diagnostics only. |
| CanDecode(…) | Returns whether this decoder can handle the provided encoded bytes; implementations should be fast and avoid allocations. |
| ReadOrientation(…) | Reads the image orientation from the encoded metadata without decoding pixels; Identity by default. |
| TryDecode(…) | Attempts to decode the provided encoded bytes. |
See Also
Section titled “See Also”- namespace Aprillz.MewUI.Resources