Is there a way to convert opencv object (mat object) to blob in javascript?

Currently I am figuring out how can we convert directly opencv object to blob without using canvas? Any help here