add image_crc32 function