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
1 answer

GraphicsMagick zoom and sample function performance difference

We use GM to do image compressing, and observe a significant performance difference between zoom and sample functions, which we suppose to do the same thing. When using zoom function for a 68k image, a process could consume all the cpu time for all…
Chen Yi
  • 171
  • 1
  • 6
0
votes
1 answer

Using OpenType features with ImageMagick or GraphicsMagick

Does anyone know if it's possible to use OpenType features in ImageMagick or GraphicsMagick? Specifically, I'm looking to use glyphs that are not assigned to Unicode points (glyphs are sometimes placed outside of the Unicode range, since they are…
David Jones
  • 10,117
  • 28
  • 91
  • 139
0
votes
0 answers

Converting TIFF Alpha Channel from Unassociated to Associated

For a dynamic imaging application I'm building, I have to take an image created by a rendering package and place it in an InDesign file. Because it needs to be CMYK with transparency, TIFF is the only possible format to use. The difficulty I'm…
Scott Buchanan
  • 1,163
  • 1
  • 11
  • 28
0
votes
2 answers

read data timeout in typo3 sites with many images

Pages with to many images on a typo3 site need to much time for imageprocessing to scale the images with graphicsmagic. The user gets the error: 500 Internal Server error. The error_log says this: mod_fcgid: read data timeout in 45 seconds If I…
user1127860
  • 150
  • 2
  • 14
0
votes
1 answer

Put text on the image in center of it and move it a bit in some direction - ImageMagick

I am challenging again with ImageMagick. I am trying with following command put text on image (in center location) and later move it -left and right. Documentation says, that gravity can be using in concert with geometry - but it seems not working…
bluszcz
  • 4,054
  • 4
  • 33
  • 52
0
votes
1 answer

using node.js with a remote GraphicsMagick server

I have node.js installed on one server. I have graphicsmagick https://github.com/aheckmann/gm installed on another server. The graphics files themselves are also stored on the graphicsmagick server. I want to install & setup the node gm module so…
Ryan Ogle
  • 726
  • 1
  • 7
  • 16
0
votes
1 answer

What is GraphicsMagick's equivalent to ImageMagick's Blend?

I'm running this with ImageMagick and would like to speed it up slightly by switching to GraphicsMagick if possible. In this, case I'm blending 30% of image1.png and 70% of image2.png together into result.png. composite -blend 70 -geometry +0+22.86…
Khorkrak
  • 3,911
  • 2
  • 27
  • 37
0
votes
1 answer

WhiteThresholdImage magick

how to use WhiteThresholdImage with magick++ ? I search for it and i found for solutions and so i try: #include using namespace Magick; int main() { Magick::InitializeMagick(""); Image image; …
0
votes
1 answer

GraphicsMagick code freeze in node addon (OSX)

I'm trying to make this simple GraphicsMagick example as a node binding/addon. This code works as expected in OSX 10.6.7 with GraphicsMagick 1.3.15 #include #include using namespace std; int main(int argc,char **argv) { …
Jesper
  • 670
  • 9
  • 16
0
votes
2 answers

About Graphics Magick for node Error

I run nodejs in windows and install gm with npm. var readStream = fs.createReadStream(__dirname + '/../temp/a.jpg'); gm(readStream, 'a.jpg').write(__dirname + '/../temp/b.png', function (err) {if (err) console.log(err);}); Then I got the msg: {…
limitfly
  • 11
  • 1
  • 5
-1
votes
1 answer

graphicsmagick transparent is not working?

I am using graphicsmagick npm: https://www.npmjs.com/package/gm I am trying to write a code like the following. I am trying to make this work with stream ... myimg.png is an image with white background. I want to change the white background to…
user12822357
  • 21
  • 1
  • 4
-1
votes
1 answer

Ignore ImageMagick or GraphicsMagick warning

The code below catches not only errors but also some warnings with some specific inputs. Is there any way to ignore all the warnings instead of checking them in the catch block? I know I can use +profile "*" on terminal, but I have no idea about…
Pittie
  • 191
  • 1
  • 13
-1
votes
1 answer

How to use gm(graphicsmagick) or imagemagick with stream? NodeJS

I don't know how to use it, even though I had research but it still not work fs.rename(tmpFile, nFile, function(){ var stream = fs.createReadStream(nFile); var req = knoxClient.putStream(stream, fName, { 'Content-type':…
-1
votes
1 answer

How do you set the width of a line in GraphicsMagick CLI?

I've tried using: gm convert "source_image.jpg" -fill black -linewidth 50 -draw "line 100,100 100,200" output_image.jpg But the line that GraphicsMagick draws is 1px wide. I've also tried using 'strokewidth' but the result is the same. Does anyone…
Jarred
  • 6,730
  • 1
  • 14
  • 3
-2
votes
2 answers

What are some alternatives to ImageMagick for resizing gifs?

Currently using a Node.js wrapper for ImageMagick to resize Gifs (gm). However many of the Gifs glitch in various ways. Majority of them are fine, but a significant enough percentage (around 20) glitch. What are some alternatives to ImageMagick /…
bezzoon
  • 1,755
  • 4
  • 24
  • 52
1 2 3
46
47