The OpenD Programming Language

readPng

Given an in-memory array of bytes from a PNG file, returns the parsed out PNG object.

You might want the other readPng overload instead, which returns an even more processed MemoryImage object.

  1. MemoryImage readPng(string filename)
  2. PNG* readPng(ubyte[] data)
    readPng
    (
    in ubyte[] data
    )

Meta