A non-uniform image compression using genetic algorithm