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

Chatra
  • 2,989
  • 7
  • 40
  • 73
  • I don’t believe html can render iff format images... generally I’ve only ever seen like photoshop be able to? – bryan60 Jul 07 '19 at 15:06
  • Not sure what your photoshop comment is. – Chatra Jul 07 '19 at 22:35
  • I said, I’ve only ever known photoshop or other image editing software to be able to render iff format images – bryan60 Jul 07 '19 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 – Chatra Jul 07 '19 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? – bryan60 Jul 08 '19 at 00:09
  • @bryan60 I used base64 before to load the same image and now I don't want to use base64 and wants to render as html5 image and it is not working. – Chatra Jul 08 '19 at 01:36

0 Answers0