Resize cropper canvas
See original GitHub issueI set the height to <image-cropper>. And when I upload the image with portrait orientation locating of cropper area is not in the appropriate place.
P. S.: cropper is initing in the dialog (modal) window

Issue Analytics
- State:
- Created 6 years ago
- Comments:15 (6 by maintainers)
Top Results From Across the Web
How to resize then crop an image with canvas
So, to crop the outer 10 pixels from the source image (Assuming it's 100 * 50 ), and then to scale that up...
Read more >Resizing and cropping elements - Canva Help Center
Select the element that you want to resize or crop. To resize it, drag the resize ... To crop it, select Crop from...
Read more >Resizing and Cropping Images with Canvas
Learn how to resize and crop images using JavaScript and the HTML5 Canvas element using controls, commonly seen in photo editing applications.
Read more >Cropping and Resizing with Canvas - Shaun Kelly
On a project I'm currently working on, I came across an issue where I needed to crop and resize images on the front-end...
Read more >How to Crop or Resize an Image With JavaScript - Code
This tutorial will show you how to crop or resize an image with JavaScript using the canvas API.
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

Nope, my mistake 😉 Fixed it and tested it in your StackBlitz!
@Mawi137 https://stackblitz.com/edit/angular-q91dxt