Compress doc images