Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to resize image(s) width and height instead of cropping it #101

Open
maihannijat opened this issue Aug 12, 2020 · 3 comments
Open

How to resize image(s) width and height instead of cropping it #101

maihannijat opened this issue Aug 12, 2020 · 3 comments

Comments

@maihannijat
Copy link

maihannijat commented Aug 12, 2020

mergeImages([
  {src: 'xxxx'}, 
  {src: 'xxxxx'}, 
  {src: 'xxxxxx'}
  ], {crossOrigin: "Anonymous", width: 2550, height: 3300})
.then( b64 => {
  download(b64, "map.png");
});

I want to resize the image instead of cropping it. The first two images have the same size but the last one is the largest. I want to have them all in the same size for a proper position. The current width and height APIs crop from sides instead of resizing.

@FZJALAL
Copy link

FZJALAL commented Dec 27, 2021

any news ?

@ahmetozalp
Copy link

up?

@iiLearner
Copy link

bumpy bump

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants