When trying to run ImageMagick via node-imagemagick on my Grunt task, i get this error from ImageMagick:
Warning: Command failed: identify: unable to load module
/usr/local/Cellar/imagemagick/6.8.8-9/lib/ImageMagick//modules-Q16/coders/jpeg.la':
…
I have been using ImageMagick command line tool for jpeg compression of the images. However, I'm trying to understand the role of sampling factor. It says the sampling factor is used to specify the block size i.e. 8x8 or 16x16. However, I can't find…
I have bene using node-imagemagick for a few days now and have come to realize that it has bugs.
There are about 100 forks of it, some of which fix some of the issues i have come across, but it is hard to figure out which fork i should use.
I'm using gm and trying to process images according to it's size.
Since "size" getter needs callback function, I can't use size in following lines.
What I want to do is like that:
function processImage(url) {
var img =…
I'm using gm module.This is my code:
gm(picture.path).thumb('250', '180', picture.thumb_path, 100, function (error) {
if(error) console.log(error);
});
But result size sometimes is 249x180. I need 250x180
I am trying to resize an image with node-imagemagick library, but it is not working.
the code i am using to resize is
im.resize({
srcPath: __dirname+'originalimage.jpg',
dstPath: __dirname+'resized.jpg',
width: 50
},…
I'm integrating an ImageMagick command into a Firebase Function written in Node.js. I already have Ghostscript installed and have a full list of fonts available:
convert -list font
Path:…
I am creating a GIF from remote files in node currently by downloading each image to the file system into a tmp folder.
I want to bypass saving the image to a tmp folder and save in memory instead. Is this possible?
As you can see, I have a download…
Is there a way to rotate an image based upon a mapping in ImageMagick?
The problem is similar to displacement mapping however instead of warping & morphing the shape based upon the luma/chroma in a map I want to rotate an image based upon the…
I'm trying to write a sample ImageMagick program in Visual Studio 2010. I have binary distribution of ImageMagick already installed on my system as I can use command line interface of ImageMagick.
However, when I try to include "Magick++.h" in my…
I'm trying to access images via https on Heroku with Imagemagick. How can I change the policies (in policy.xml) on Heroku?
Heroku made an "ImageMagick security update" in May, 2016: https://devcenter.heroku.com/changelog-items/891
I can see the…
I've been trying to use node-gm + Imagemagick to circular crop an image.
Anyways, here's my attempt at creating a mask using a black circle.
var original = 'app-server/photo.jpg';
var output = 'app-server/photo.png';
var maskPath =…
I need to create an image from some background and text, like:
I try
convert -size 320x100 xc:transparent \
-font Arial -pointsize 72 -tile "bg.jpg" \
-annotate +28+68 'Some text' clear.png
but this does not work.
I'm using ImageMagick to do some stuff with GIF images.
One of my steps is identifying the number of frames in an image.
I'm calling identify via node-imagemagick (and later gm) like this:
identify -format '%T,%w,%h ' test.gif
Most of the time I…