Adds a PNG_frame_type function and its usage example
Updates the README according to last changes.