Reads image from a binary string