/PNGTool

A PNG image parser

Primary LanguageKotlinMIT LicenseMIT

PNGTool

codecov

A PNG image parser

https://en.wikipedia.org/wiki/Portable_Network_Graphics

Usage

val tool = PNGTool(file)

Thows Exception if the file is not a valid PNG, or fails validation.

APIs


getAllChunkTypes(): List<String>

Returns all the chunk types in the PNG.

getChunks(type: String): List<Chunk>

Return chunks of the mentioned type.