Report question

Question: how to convert image to byte array in java?