gm
gm copied to clipboard
GraphicsMagick for node
When using autoOrient all profile-data is being stripped. gm(path).autoOrient().options({ imageMagick : true }).write(path, function(err) {}); Is this a bug, or how can one prevent profiles (e.g. exif-data) from being lost?
Removed striping all metadata when using native imagemagick -auto-orient, because it already removes the orientation-tag from the file. I guess graphicsmagick does not do that, so I kept the strip...
My code is: ``` let fontName = 'PingFang.ttc'; let word = '好aaad'; gm(400, 600, '#FF4400') .font(fontName, 24) .stroke('#FFFFFF') .fill('#FFFFFF') .drawText(0, 20, word) .write(`${helper.rootPath}/build/out.png`, function (err) { console.log(`Cost:${Date.now() - time}`); done();...
hi im tring to watermark image using gm . var imageGM = gm.subClass({ imageMagick: true }); imageGM() .subCommand('composite') . in ('-compose', 'Over', ./path_to_Watermark, './path_to_jpg) .write('./path_to_result', function(err){ console.log('done', err); }); using...
I'm using nodejs 'gm' module with imagemagick library to create thumbnails of images and upload on S3. It works well with small images. But with large size images it's not...
whats the reason of that error. whenever i called gm following error occur [Error: Could not execute GraphicsMagick/ImageMagick: gm "identify" "-ping" "-verbose" "/api/abc" this most likely means the gm/convert binaries...
can specify a full path to the actual location of the app file instead.
hi! I am able to flatten pictures, like this: `convert img1.png img2.png img3.png -flatten out.png` with this js code: `gm().command("convert").in("img1.png").in("img2.png").in("img3.png").in("-flatten").toBuffer('PNG' ... ` but now I want to tint one of...
Updated all the `aheckmann.github.com`'s to `aheckmann.github.io` in README to prevent 404's @aheckmann