Inspect a PNG file, returning parsed metadata relating to it.
Usage
inspectPng(file)
# S3 method for lodermeta
print(x, ...)
Value
inspectPng returns a character vector of class
"lodermeta". The print method is called for its side-effect.
Arguments
file
A character string giving the file name to read from.
x
An object of class "lodermeta".
...
Additional arguments (which are ignored).
Details
The LodePNG library is used to parse the PNG file at the specified path.
The result is a string like the input, but of class "lodermeta" and
with several attributes set describing the file's contents. There is a
print method for these objects.