With the increase of remote sensing images, fast access to some features of the image is becoming critical. This access could be some part of the spectrum, some area of the image, high spatial resolution. An adaptation of 3D-SPIIHT image compression algorithm is presented to allow random access to some part of the image, whether spatial or spectral. Resolution scalability is also available, enabling the decoding of different resolution images from the compressed bitstream of the hyperspectral data. Final spatial and spectral resolutions are chosen independently. From the same compressed bitstream, various resolutions and quality images can be extracted while reading a minimum amount of bits from the coded data. All this is done while reducing the memory necessary during the compression.