Questions tagged [graphicsmagick]

GraphicsMagick provides a robust collection of tools and libraries that support reading, writing, and manipulating images in over 88 major formats. It is a fork of ImageMagick that focuses on performance, minimizing bugs, and providing stable APIs and command-line options.

GraphicsMagick provides more extensive API documentation than ImageMagick. The GraphicsMagick fork of was made in November 2002.

691 questions
0
votes
2 answers

Graphicsmagick Image Comparison threshold value

I am using grunt for my test bed setup and currently it would generate bunch of screenshots for a given test case and it then compares those screenshots against the benchmarks I already stored in a different repository using graphicsmagick. But…
learn_develop
  • 1,735
  • 4
  • 15
  • 33
0
votes
1 answer

Run GraphicsMagick compare command using im4java + gm4java

I am trying to do a GraphicsMagick compare using im4java and gm4java. The GraphicsMagick command I'm using is like this: gm compare -maximum-error 0 -metric MAE -highlight-style xor -hilight-color red -file C:/output/diffFile.pdf C:/input/file1.pdf…
Chuck L
  • 1,026
  • 10
  • 23
0
votes
1 answer

ICC profil in PDF using Graphicsmagick

We use a Graphicsmagick to convert JPG/PNG to pdf. We need to get the ICC Profil that the JPG/PNG contains because the PDF is printed. How can we do that ? Thanks for your help.
0
votes
4 answers

How to store description in jpeg image?

I whant to save image description to jpeg file itself without any external databases or files. I didn't find andy EXIF field for that. Idealy, I want to set description it by imagemagic or same crossplatform tool. What is proper field for it?
Alexey Ryazhskikh
  • 2,458
  • 4
  • 32
  • 51
0
votes
0 answers

PNG resize bug in CollectionFS/GraphicsMagick?

I’m using CollectionFS and GraphicsMagick and resizing PNGs result in corrupted files (zero KB). JPGs and GIFs work fine. transformWrite: function(fileObj, readStream, writeStream) { // Transform the image into a 64x64px thumbnail …
Kai
  • 417
  • 4
  • 15
0
votes
1 answer

Octave IMAGE package failing to convert an image to grey scale

I am trying to do the VLFeat.org tutorial: http://www.vlfeat.org/overview/sift.html, to learn about SIFT features. I am doing it using octave. My octave version is GNU Octave, version 3.8.2, I am on a mac is 10.9.5 and when I list the pakages:…
Javier
  • 1,530
  • 4
  • 21
  • 48
0
votes
1 answer

Convert and resize image to png using gm

I want to switch from Image Magick to Graphics Magick. The following code converts an image to PNG: var ImageMagick = require("imagemagick"); // convert the image ImageMagick.convert([ "input.jpg" , '-resize' , "200x100" , "output.png" ],…
Ionică Bizău
  • 109,027
  • 88
  • 289
  • 474
0
votes
2 answers

GraphicsMagick fails when using NorthWest gravity

I run into something with graphicsmagick that is seemingly a bug, but a very wierd one. When I execute the following command, it works fine: gm convert /etc/files/background/1.jpg -draw "gravity 'West';fill '#FFFFFF';font 'Courier';font-size…
Relevart
  • 737
  • 1
  • 7
  • 20
0
votes
1 answer

GraphicsMagick how to resize images from binary data

I'm trying to use GraphicsMagick to resize the image before uploading to Amazon S3. I was able to get the binary data of the image file from like this: reader.onload = function(e) { Meteor.call('s3_upload', file,…
Mcope
  • 781
  • 8
  • 22
0
votes
0 answers

Using Meteor & GraphicsMagick

I have Meteor v1 installed and GraphicsMagick installed. When the app starts, the console tells me "GraphicsMagick found" However when I try to follow these simple instructions: (https://github.com/aheckmann/gm/blob/master/README.md) var fs =…
Mcope
  • 781
  • 8
  • 22
0
votes
1 answer

GraphicsMagick replace all colors (except yellow) to transparent

Tried to replace all colors except yellow (with some -fuzz) to transparent without result. Didn't find anything in documentation maybe someone can help me. Thank you. As I know in ImageMagic there is +opaque, but I can't use this library
0
votes
2 answers

Using multer in memory buffer with GraphicsMagick

I'm trying to resize an image uploaded in memory, using multer over express to get the file. While I can access req.files.picture.buffer and it shows some content, when I pass the buffer to GM I receive a ENOENT. The code is as follows: var buffer =…
JayC
  • 2,014
  • 4
  • 15
  • 25
0
votes
1 answer

graphicsmagick fails to get size when using gm(buffer,file)

I'm using the node module gm, and I'm trying to identify the size of a PNG image. I've made the following small program to illustrate my issue. The size is retrieved if you use the gm constructor function that takes a file name. It fails if you pass…
Kevin
  • 24,871
  • 19
  • 102
  • 158
0
votes
0 answers

spawn ENOENT error with NodeJS

I get an error using GM() on my remote server, I think i get an issue when I try to write the file... It works perfectly on my local server... My code : gm() .in('-page', '+0+0') .in('/var/www/myapp/public/images/instabox.jpg') .in('-page',…
tonymx227
  • 5,293
  • 16
  • 48
  • 91
0
votes
1 answer

How do I crop/resize a background/border out of an image with GraphicsMagick

I have some images in a large set of images that have a white (or black) border that surrounds the image itself. How can I... Crop the image to a size without said background/border Resize the image to fill a given output size centered. For…
Tracker1
  • 19,103
  • 12
  • 80
  • 106