Fix ERR01 ("Resource is not a GIF image.")