Study of Image Real-time Compression Technique