|
VectSharp 2.6.1
A light library for C# vector graphics
|
Contains methods to create animated PNG image files. More...
Classes | |
| class | CompressedFrame |
| Represents an individual frame of a PNG animation. More... | |
Public Types | |
| enum | InterframeCompression |
| Types of inter-frame compression. More... | |
Static Public Member Functions | |
| static unsafe void | Create (Stream outputStream, int width, int height, bool hasAlpha, IReadOnlyList< CompressedFrame > compressedFrames, int repeatCount) |
| Create a new animated PNG image, outputting it to the specified stream. More... | |
Contains methods to create animated PNG image files.
Definition at line 30 of file ImageFormats.cs.
Types of inter-frame compression.
Definition at line 35 of file ImageFormats.cs.
|
static |
Create a new animated PNG image, outputting it to the specified stream.
| outputStream | The stream to which the animated PNG image will be written. |
| width | The width of the image in pixels. |
| height | The height of the image in pixels. |
| hasAlpha | If the frames of the image have an alpha channel, set this to true; otherwise, set it to false. |
| compressedFrames | The frames that will be used to create the animated PNG image. |
| repeatCount | The number of times that the animation should loop. Set this to 0 for an infinitely repeating animation. |
Definition at line 181 of file ImageFormats.cs.