What does the image look like when you receive it? Is it an entirely blue image, or a null response, are you having trouble decoding the Base64 format?
The result of base64_decode() will be binary data that needs to be displayed to the user as a PNG image, typically by outputting it from PHP with header('Content-Type: image/png')