Closed abnoy closed 5 years ago
Found the issue, the image isn't being returned as a Base64 encoded image. Is there a setting for this library to not decode the image? Wouldn't a Base64 encoded image in the return be desirable?
No setting, this is what the FedEx web service returns. Just file_put_contents()
the image data itself.
Here's an example, but for a .pdf file.
https://github.com/JeremyDunn/php-fedex-api-wrapper/blob/master/examples/ship.php#L130-L131
I'm having trouble retrieving a label as a PNG. PDF and ZPLII work fine but the response is blank when I use PNG.
I'm using the example in: https://github.com/JeremyDunn/php-fedex-api-wrapper/blob/master/examples/ship.php#L75