add #readPng method.