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'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...
I'm trying to make a simple app which takes text from users and edit the text in svg file (generated from illustrator) and sends back to the user with the final result.  I'm able to change the SVG file text in javascript but I'm having pr...
I am developing a DAM which is hosted in AWS. The user is able to upload heavy files to the system. Under the hood, when an image is uploaded, there is an AWS Lambda function creating a thumbnail for each image.  Obviously files with format .psd and...
I have created a function that creates an initials avatar using node.js gm. But it always creates a square-shaped avatar, I want it to create a circle shaped image. I have already tried other solutions but they seem to be not working. I want to use o...
I am using the following code to convert images from jpg to png:      gm('C:/random.jpg').stream('png', function (err, stdout, stderr) {     var writeStream = fs.createWriteStream('C:/reform.png');     stdout.pipe(writeStream)...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.