I try, unsuccessfully, to find an equivalent in NodeJS of PHP GD function imagecopyresampled
.
This is not simply resize an image, but get a portion of an image and then put it into another image.
I find this libraries :
- gm
- canvas
- imagemagick
- easyimage
- node-gd
But they have no equivalent. It's the same thing with the function imagecreatetruecolor
and they just simply resize/crop image without select part of image with offset and specified width/height selection.
Does anyone know the NodeJS equivalent ?