Gravar-mail: A comparison of wavelet and Joint Photographic Experts Group lossy compression methods applied to medical images