Wavelet spectral image compression