SKCodec.StartIncrementalDecode 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| StartIncrementalDecode(SKImageInfo, IntPtr, Int32) |
準備使用指定選項進行增量解碼。 |
| StartIncrementalDecode(SKImageInfo, IntPtr, Int32, SKCodecOptions) |
準備使用指定選項進行增量解碼。 |
StartIncrementalDecode(SKImageInfo, IntPtr, Int32)
準備使用指定選項進行增量解碼。
public SkiaSharp.SKCodecResult StartIncrementalDecode(SkiaSharp.SKImageInfo info, IntPtr pixels, int rowBytes);
參數
- info
- SKImageInfo
目的地的影像資訊。 若尺寸與 不 Info符,則表示有刻度。
- pixels
- IntPtr
那個可以書寫的記憶。 需要足夠大以容納子集(若有)或完整影像。
- rowBytes
- Int32
那是記憶中寫作的步伐。
傳回
成功的回報 Success ,或其他解釋失敗類型的價值。
適用於
StartIncrementalDecode(SKImageInfo, IntPtr, Int32, SKCodecOptions)
準備使用指定選項進行增量解碼。
public SkiaSharp.SKCodecResult StartIncrementalDecode(SkiaSharp.SKImageInfo info, IntPtr pixels, int rowBytes, SkiaSharp.SKCodecOptions options);
參數
- info
- SKImageInfo
目的地的影像資訊。 若尺寸與 不 Info符,則表示有刻度。
- pixels
- IntPtr
那個可以書寫的記憶。 需要足夠大以容納子集(若有)或完整影像。
- rowBytes
- Int32
那是記憶中寫作的步伐。
- options
- SKCodecOptions
解碼選項,包括記憶體是否初始化為零,以及是否解碼子集。
傳回
成功的回報 Success ,或其他解釋失敗類型的價值。