You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
how could we stitch images into a bigger one? #699
Jimp, another NodeJS library https://github.com/oliver-moran/jimp, has a convenient method blit that lets me paste several images into a bigger one.
In my application, I don't need stretching, but simply stitch vertically several images that have the same width, without overlap.
Would you have suggestions on how to do it with sharp (much faster than Jimp).
Reacted by Stefano Redaelli, Anthony and Seth J Gore
Hello, you could try a variant of the reduce-based approach taken in #405 (comment), modified so that the initial image is already of the final required dimensions and the call to overlayWith provides an incrementing top coordinate.
Activity
lovell commentedon Feb 2, 2017
Hello, you could try a variant of the reduce-based approach taken in #405 (comment), modified so that the initial image is already of the final required dimensions and the call to overlayWith provides an incrementing
topcoordinate.ldenoue commentedon Feb 2, 2017
Thanks a lot I wouldn't have found it by myself.
lovell commentedon Mar 23, 2017
Closing due to inactivity but please re-open if questions remain.
kawka-maciej commentedon Jan 28, 2021
The link in your response @lovell redirects to some weird sites.
lovell commentedon Jan 28, 2021
@kawka-maciej Thanks, have removed.