destroy jpeg compress & decompress