Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • I don't understand your question, usually you get octet-stream from ajax calls or $http service from angular. can you give an example of your code or share the image file you are using?
    – Teocci
    Commented Oct 11, 2022 at 4:26
  • stackoverflow.com/a/74026755/5372008 check this answer I make about converting svg into a png format
    – Teocci
    Commented Oct 11, 2022 at 10:40
  • 1
    Neither of your two examples appear to work, no image is displayed, and "imageBase64" is just "data:". I have tested in my environment as well with the same, if not worse, results. Am I missing something ?
    – Metric Rat
    Commented Feb 23, 2023 at 10:27