High level synthesis tool Synthagate in Image Compression