height, width parameters set to achieve better compression ratio.