0

I implemented this link in my Angular application and it is working fine.

But business made a decision to only return byte and not as base64 and wants to display on HTML5 image.

My image type is IFF.

How can I display bytes returned by Web API as HTML5 image for IFF file type

6
  • I don’t believe html can render iff format images... generally I’ve only ever seen like photoshop be able to? Commented Jul 7, 2019 at 15:06
  • Not sure what your photoshop comment is. Commented Jul 7, 2019 at 22:35
  • I said, I’ve only ever known photoshop or other image editing software to be able to render iff format images Commented Jul 7, 2019 at 23:34
  • @bryan60 As I said, I am able to display IFF image as base64. I would like to do it as HTML5 image Commented Jul 7, 2019 at 23:45
  • Then just load it like any other image if this works? Assuming the headers are correct it should be fine, all files are sent as byte arrays. Are you sure you don’t mean tiff? Commented Jul 8, 2019 at 0:09

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.