Image compression and decompression based on dct