Added prototype code for PNG support.