pngFromImage

Creates the PNG data structure out of a TrueColorImage. This implementation currently always make the file a true color with alpha png type.

This is called by writePng.

  1. PNG* pngFromImage(IndexedImage i)
  2. PNG* pngFromImage(TrueColorImage i)
    pngFromImage
    (
    TrueColorImage i
    )

Meta