question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I need to create a stream image from IHtmlImageElement

See original GitHub issue

I need to create a stream image from IHtmlImageElement.

In HtmlUnit, I’m using this:

HtmlImage image;
ImageReader reader = image.getImageReader();

So, how could I make this in AngleSharp?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
mausworkscommented, Nov 23, 2018

@walysonmax

Then how are you supposed to “read the image”? The image data is not located in the HTML document, it’s another resource (hence src), you have to download the image via a separate request, that’s how the web works.

image

0reactions
walysonmaxcommented, Nov 23, 2018

I resolved for the issue #379 .

Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTMLImageElement - src as stream
The only way to have a true stream in an <img> is through the MJPEG ... is the ability to make an <iframe>...
Read more >
How to create an image element dynamically using ...
Create an empty image instance using new Image(). Then set its attributes like (src, height, width, alt, title, etc). Finally, insert it into ......
Read more >
HTMLImageElement - Web APIs | MDN
Chrome Edge HTMLImageElement Full support. Chrome1. Toggle history Full support. Edge12. Toggle hi... Image() constructor Full support. Chrome1. Toggle history Full support. Edge12. Toggle hi... align....
Read more >
Convert An Image To A DataURL or Base64 String Using ...
In this short tutorial we explore 3 different JavaScript methods to convert an image into a Base64 string. We look at converting a...
Read more >
Create Image Elements in JavaScript
Learn all aspects of working with images in JavaScript starting from how to create an image element to adding click events to multiple ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found