Fixes upstream #37: add support for Indexed PNG files.