Fix an enum constant in the error case for create_from_png()