Any way to get blob of image
See original GitHub issueHi, i have a question, is any way to get blob of image, i need to handle source image with canvas after fetch
Is possible implement on CacheManager.prefetch or some way? For example:
CacheManager.prefetch(url).then((blob) => {})
Thank you.
Issue Analytics
- State:
- Created a year ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
convert image into blob using javascript - Stack Overflow
You can do this in two ways: Load the image source using XMLHttpRequest() or fetch() instead of an image element; Convert image element...
Read more >Blob - The Modern JavaScript Tutorial
// take any image let img = document.querySelector('img'); // make <canvas> of the same size ...
Read more >How to convert an Image to blob using JavaScript?
How to convert an Image to blob using JavaScript? - Following is the code to convert an image to blob using JavaScript −Example...
Read more >An Introduction to Blob API & Its Use Cases
Use Cases: 1. Upload in chunks, 2. Download data from the Internet, 3. Image Compression, 4. Create Blob URL, 5. Blob to Data...
Read more >Convert A Blob To A File Using JavaScript - PQINA
In this quick tutorial we'll explore how to turn a Blob into a File. Fetch. The script below converts a fetch response into...
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 Free
Top 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

@youniaogu released 2.3.0
thank you for quick reply, i am using typescript
it look work, i am trying