SKPngEncoderFilterFlags 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.
Various row filters to use when encoding a PNG.
This enumeration supports a bitwise combination of its member values.
[System.Flags]
public enum SKPngEncoderFilterFlags
- Inheritance
-
SKPngEncoderFilterFlags
- Attributes
Fields
AllFilters | 248 | Try all the filters. |
Avg | 64 | Use the average of the two neighboring pixels (left and above) to predict the value of a pixel. [Average(x) = Raw(x) - floor((Raw(x-bpp)+Prior(x))/2)] |
NoFilters | 0 | Do not use any filters. |
None | 8 | Transmit unmodified. |
Paeth | 128 | Compute a simple linear function of the three neighboring pixels (left, above, upper left), then chooses as predictor the neighboring pixel closest to the computed value. [Paeth(x) = Raw(x) - PaethPredictor(Raw(x-bpp), Prior(x), Prior(x-bpp))] |
Sub | 16 | Transmit the difference between each byte and the value of the corresponding byte of the prior pixel. [Sub(x) = Raw(x) - Raw(x-bpp)] |
Up | 32 | Transmit the difference between each byte and the value of the corresponding byte of the pixel above. [Up(x) = Raw(x) - Prior(x)] |
Applies to
SkiaSharp
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示