merge-images icon indicating copy to clipboard operation
merge-images copied to clipboard

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

Open maihannijat opened this issue 5 years ago • 3 comments

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.

maihannijat avatar Aug 12 '20 18:08 maihannijat

any news ?

FZJALAL avatar Dec 27 '21 11:12 FZJALAL

up?

ahmetozalp avatar Jun 16 '22 22:06 ahmetozalp

bumpy bump

iiLearner avatar Aug 28 '22 22:08 iiLearner