SKCodecResult Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Used to describe the result of a call to GetPixels(SKImageInfo, IntPtr, SKCodecOptions) or one of the overloads that accepts a SKCodecOptions.
public enum SKCodecResult
- Inheritance
-
SKCodecResult
Fields
CouldNotRewind | 7 | Fulfilling this request requires rewinding the input, which is not supported for this input. |
ErrorInInput | 2 | There was an error in the imput data. If returned from an incremental decode, decoding cannot continue, even with more data. |
IncompleteInput | 1 | The input is incomplete. A partial image was generated. |
InternalError | 8 | An internal memory occurred, such as an out-of-memory error. |
InvalidConversion | 3 | The codec cannot convert to match the request, ignoring dimensions. |
InvalidInput | 6 | The input did not contain a valid image. |
InvalidParameters | 5 | The parameters (besides info) are invalid. e.g. null pixels, row bytes too small, etc. |
InvalidScale | 4 | The generator cannot scale to requested size. |
Success | 0 | The general return value for success. |
Unimplemented | 9 | This method is not supported by this codec. |
Remarks
Result is the union of possible results from subclasses.
Applies to
SkiaSharp
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기