addImage createDataURIFromElement/getImageDataFromElement canvas image format
See original GitHub issueHello, I noticed something with the version 1.5.3 in addImage createDataURIFromElement
where the format parameter is ignored if the nodeName is canvas. In 1.4.1 the format was set depending on this parameter.
Now in recent updates: #2374 the format parameter has been removed which removes the ability to define what format you’d like to specify for the data.
I am working on trying to get a reproducible code snippet but it’s proving difficult as the use case is kind of hard to isolate. However I do think this regresses the behaviour from 1.4.1. What do you think?
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (2 by maintainers)
Top Results From Across the Web
addImage createDataURIFromElement ... - GitHub
Hello, I noticed something with the version 1.5.3 in addImage createDataURIFromElement where the format parameter is ignored if the nodeName ...
Read more >addImage - Documentation - GitHub Pages
imageData as base64 encoded DataUrl or Image-HTMLElement or Canvas-HTMLElement. format, string. format of file if filetype-recognition fails, e.g. 'JPEG'.
Read more >How to add image to canvas - javascript - Stack Overflow
You need to wait until the image is loaded before you draw it. Try this instead: var canvas = document.getElementById('viewport'), context = canvas....
Read more >Using images - Canvas API - MDN Web Docs
External images can be used in any format supported by the browser, such as PNG, GIF, or JPEG. You can even use the...
Read more >HTML5 add Image Canvas upload image using JavaScript ...
How to use HTML5 with Canvas element uploading an image within the canvas element with coding exampleModern Web Design Beginners HTML CSS ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
clone project locally npm run-script build npm start
open in browser http://localhost:8000
Do it again.
@es11400 This Tuesday MrRio wrote me that today is the day (of release) and I responded, that I found a huge bug (pages lose orientation when starting with landscape mode) and that I want to fix that. Tbh, last release was kind of emberassing. So I want to have a good version this time.
But I am now kind of sure, that most of the bugs are fixed.