Hi there
I see there is..
How can I use that to
1. Get an image from assets folder
2. Crop it?
3. Display cropped image / Save cropped image as thumbnail?
Thanks in advance.
I see there is..
Window: createImageBitmap() method - Web APIs | MDN
The createImageBitmap() method of the Window interface creates a bitmap from a given source, optionally cropped to contain only a portion of that source. It accepts a variety of different image sources, and returns a Promise which resolves to an ImageBitmap.
developer.mozilla.org
How can I use that to
1. Get an image from assets folder
2. Crop it?
3. Display cropped image / Save cropped image as thumbnail?
Thanks in advance.