The OpenD Programming Language

getHeaderFromFile

Opens a file and pulls the PngHeader out, leaving the rest of the data alone.

This might be useful when you're only interested in getting a file's image size or other basic metainfo without loading the whole thing.

getHeaderFromFile
(
string filename
)

Meta