How to convert Image to byte?

Screenshot.xaml (5.6 KB)
I have above workflow… I need display output in message box (it should be in byte( 0 or 1)).