image decodes base64 finished