Fix encoding option

no resize