Fixes #277: add support for Indexed PNG files.