Changed logic for determining image encoder for SpritePacker.ImageIO