Search code examples
node.jsgraphicsmagick

Merge Images With Node


I'm using Node.js GM and trying to merge an image onto another at a certain x, y point. How can I achieve this with GraphicsMagick? Is it possible to use append and specify coordinates instead of left-to-right?


Solution

  • You are looking for the composite method see docs from GM

    http://www.graphicsmagick.org/composite.html

    append is normally handy for creating sprites