 <p>Use <code>Base64.NO_WRAP</code> flag to strip line breaks</p> <p>Use 90 quality when compressing will greatly reduce the output size. the length of the output will be 4/3 times of the length of the byte array</p>