API Reference
Class
OfficePngReader
Dependency-free PNG decoder for supported PNG images.
Inheritance
- Object
- OfficePngReader
Methods
public static Boolean TryDecode(Byte[] bytes, out OfficeRasterImage image) #Returns:
BooleanAttempts to decode a PNG image into an RGBA raster buffer.
Parameters
- bytes System.Byte[]
- image OfficeIMO.Drawing.OfficeRasterImage@
public static Boolean TryGetFrameCount(Byte[] bytes, out Int32 frameCount) #Returns:
BooleanInspects a PNG container without decoding pixels and reports its declared APNG frame count. Static PNG files report one frame.
Parameters
- bytes System.Byte[]
- frameCount System.Int32@
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object