resizes and compresses logo