I am trying to convert a gif into a png using graphicsmagick on node.js. In their documentation they have the following code:  // pull out the first frame of an animated gif and save as png gm('/path/to/animated.gif[0]')     .write('/path...
I have a large number of images stored on a separate server that needs to be displayed on a single page as a mosaic of some sort where the individual elements may be shown or hidden dynamically.  These images should be fetched, resized and then stitc...
I'm doing this  gm(jpgName).setFormat('jpg')     .resize(160,158)     .compress('JPEG') .write(fs.createWriteStream(jpgName),function(err){     if(err){         console.log(err,jpgName);     res.send(400);     }else{         conso...
Even though this has been asked several times, none of the existing answers helped me out. Using a MEAN environment (on Mac OSX), I installed graphicsmagick using:   sudo npm install gm   Whenever I run the following script, I get this error:   { [Er...
so i've been tackling this one for a few days and got the point when i'm ready to ask for help.  I'm trying to generate an animated gif with in a node.js based app, using the graphicsmagic package.  I've generated several slides that...
I'm using Express.js and have a route to upload images that I then need to resize.  Currently I just let Express write the file to disk (which I think uses node-formidable under the covers) and then resize using gm (http://aheckmann.github.com/gm...
I need a way to create an image on graphicsMagick via node.js   Normally I can manage this with;  gm convert -background transparent -pointsize 30 -gravity Center label:türkçee HEEEEEY.png   I need the equivalent of this input in node.js like;  var...
I want to merge 2 images using node.js an gm for node. In fact I want to place one smaller image on cordinates x,y on a larger image.  I've allraedy someting working with append() but i cannot choose to put the second image above the first one  h...
I want to add:     RUN apt-get install graphicsmagick -y   to my meteor mupx application start script. When i add it to /opt/myapp/config/start.sh its obviously overritten by my next deployment. Where is the "template" file to build the "...
I'm using this function to convert 2 pages from a multi-page TIFF file to a multi-page PDF file.  var writeStream = fs.createWriteStream('./docs/multipage1.pdf');  gm().command('convert')     .in('./docs/' + data.nomefile...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.