Through which process/class or method, I can convert binary data into the image file?