Image compression mechanism using genetic algorithm using python