SKBitmap.DecodeBounds 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| DecodeBounds(String) |
解碼指定檔名的點陣圖資訊。 |
| DecodeBounds(ReadOnlySpan<Byte>) |
回傳影像資訊,但不會完全解碼資料。 |
| DecodeBounds(Stream) |
利用指定的串流解碼點陣資訊。 |
| DecodeBounds(Byte[]) |
利用指定的位元組緩衝區解碼點陣資訊。 |
| DecodeBounds(SKData) |
利用指定資料解碼點陣資訊。 |
| DecodeBounds(SKStream) |
利用指定的串流解碼點陣資訊。 |
DecodeBounds(ReadOnlySpan<Byte>)
回傳影像資訊,但不會完全解碼資料。
public static SkiaSharp.SKImageInfo DecodeBounds(ReadOnlySpan<byte> buffer);
參數
- buffer
- ReadOnlySpan<Byte>
編碼的影像資料。
傳回
影像資訊,或 Empty 錯誤時。