image compression for better performance.