Offline compression for images
