ImageMagick is an open source software suite for displaying, converting and editing raster image files.

learn more… | top users | synonyms

0
votes
0answers
6 views

Is it possible to tell IM to preserve one color channel no matter what / Specifiy an entire color table?

I'm using the red/green/blue channels of an image to create a custom mask for a game. The red & green channels are going to be gradient images, and the blue channel is going to have single-pixel ...
0
votes
0answers
25 views

Picture overlapping program

I have a set of images and they overlap one another. So if I were to put them together I would have a single larger image than any one of them, and it would show me the "full picture". It could be ...
0
votes
0answers
10 views

Rails Pdf to jpg conversion rendering one image for multiple page pdf

Here is my problem: I am using carrierwave and rmagick to convert pdfs into images and it works just fine. The only problem is that when i try to parse a 2..n pages pdf, it always generates an image ...
1
vote
2answers
31 views

ImageMagick Install Windows

I am trying to install ImageMagick on Windows. What I did is install Windows RailsInstaller created my version and now I need to use ImageMagick but for some reason it doesn't work. I took the binary ...
0
votes
0answers
11 views

ImageMagick distortion of the mask for the distortion of the face

Good afternoon Can using a library imagemagick apply to image distortion on the mask? By analogy with this example http://www.imagemagick.org/Usage/mapping/#spherical I wanted to create the effect ...
0
votes
1answer
22 views

ImageMagick - convert multipage PDF into one image

I am using ImageMagick to convert PDF files into images. However, some of the PDF's have multiple pages, which is proving to be a real problem. My local convert is below. exec("\"C:\\Program Files ...
0
votes
0answers
8 views

getimagesize() after resizing

Is there a way to get the image dimension of an image that was just resized? What I'm foing is taking a file and fitting it to a 48x48 area (note, I said FIT, not scale.) Once that's done, I need to ...
0
votes
1answer
24 views

Generate a large amount of images then merge into a PDF (1,000 to 10,000 pages) from PHP site

I have created a site with a custom module built on top of OpenCart. It allows you to design a business card, brochure, or post card online (something like vistaprint but simpler) and generates a ...
0
votes
1answer
25 views

Create angle gradient with RMagick

I want to create an angle gradient with RMagick. The final result should look something like the image below. I must be able to define the positions of the colors. According to this page of the ...
0
votes
0answers
35 views

compare color of two images with ruby rmagick

I have two PNG images: - "image1.png" contains 100 circle points with different colors. - "image2.png" also contains 100 circle points with different colors. However, the problem is that points in ...
1
vote
1answer
19 views

How do I install Image::Magick on mac os x?

I've attempted installing with brew: brew install imagemagick The installation seems to have completed successfully. However, when attempting to: use Image::Magick; I get the following error ...
0
votes
1answer
26 views

Carrierwave and Imagemagick timeouts on upload

I'm seeing a Completed 500 Internal Server Error in 55ms in my logs when users uploads a large image (800px higher @ 100kb+). I wanted to know if there is any way I can set the timeout to a higher ...
0
votes
1answer
17 views

Imagemagick not outputting reflection on windows

I am trying to do the same as described here http://www.imagemagick.org/Usage/advanced/#reflections I am using imagemagick on windows and the command I am using is like this - convert test3.jpg ...
0
votes
0answers
13 views

ImageMagick reading SVG with unexpected result

I have a question about IM reading SVG Images and it really troubles me. For the SVG image below, <?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" ...
2
votes
2answers
36 views

ImageMagick + Cocoa app in one bundle

OK, what I'm trying to do is fairly straightforward, although I definitely have no idea how to proceed : I have created an Objective-C wrapper for ImageMagick functions I want to embed ImageMagick ...
2
votes
1answer
29 views

Nowadays, what is the best Image Processor library for PHP? [closed]

On my company we're using the native lib (GD) and I would like to know what would be, nowadays, the best option in terms efficiency for image manipulations like resize or crop, since we're not very ...
0
votes
0answers
22 views

paperclip: generate office document thumbnails

I want to be able to create thumbnails of user uploaded MS Office documents in my rails app. Default paperclip installation leads to: [paperclip] An error was received while processing: ...
1
vote
0answers
18 views

Automated cross browser compatibility testing using image difference

I am looking for a technique to spot differences in a web page across different browsers by comparing their screenshots. I need this as I am trying to automate our sites sanity check just as a tester ...
1
vote
1answer
29 views

Convert white parts in image to transparent to simulate printing

I am currently developing an AJAX application using PHP and Javascript that allows people to upload images that will be printed on foil. Since I will be using a standard CMYK printer, it won't print ...
0
votes
1answer
20 views

Filesize increased while converting png to jpg using imagemagick

I am trying to convert the png images to jpeg using ImageMagick (version 6.2.8) convert command. But for some images the filesize increases drastically. The command I used was: convert ...
0
votes
1answer
16 views

Converting png to jpeg increases image size

When I convert png to jpeg , size of image is increasing for 2 percent cases. I am using convert command of imagemagick for this. Also able to handle alpha transparency factor by maintaing white ...
0
votes
1answer
15 views

the meaning of MeanSquaredErrorMetric type in ImageMagick

I'm trying to understand the meaning of metric type "MeanSquaredErrorMetric" used in "compare_channel" method of Rmagick, but I do not see a document that explains the meaning of this metric type. ...
0
votes
1answer
27 views

Convert grayscale image to cross-hatch shading

I have a grayscale image that I would like to convert into cross-hatched shading so it can be printed by a black and white only printer. Is this possible with any postprocessing tools, such as ...
0
votes
0answers
14 views

PDF to BufferedImage using ImageMagic

I am trying to get bufferedimages from stdout of ImageMagic convert command. I am using im4java as a wrapper to get the bufferedimage, I get the imagemagic error. error ...
0
votes
0answers
13 views

Error Resize Imagemagick in Node.JS

I have already issued the command for npm to install imagemagick. I have installed imagemagick exe on my machine and ran a test of a command to change the image type from jpg to png - and that ...
1
vote
1answer
20 views

Can't trim image with Paperclip / ImageMagick

With Paperclip I download images and crop these to the right dimensions. These images also have white top/bottom borders, or white left/right borders to make them fill a specific resolution. I don't ...
0
votes
0answers
13 views

php ImageMagick does not work with -coalesce

The problem is that on my test server (online) the following statement works, but on the live-server (the server of my client) it does not: exec("convert test.JPG -coalesce -strip -resize 750x750 ...
1
vote
1answer
31 views

Server not responding to requests after Carrierwave upload

I tried to upload a image using Carrierwave and the upload hanged on forever without concluding the upload or giving an error. After that the server didn't respond to any more request, even after I ...
0
votes
1answer
26 views

php Stamping - Watermarking a pdf with another pdf or html

Let's say I have stamp.pdf or stamp.html and original.pdf. stamp.pdf (stamp.html) contains a stamp and I want to place stamp.pdf over original.pdf in a certain position and generate a new pdf - ...
-1
votes
1answer
93 views

How to use python to generate a magazine cover? [closed]

I'm looking for something that can generate a magazine cover with a image and I can add some content highlights on it. What's the best library to do this job? Is it PIL? or imagemagick?
0
votes
0answers
11 views

How do I replicate this ImageMagick command with php-imagick?

I'm trying to port an ImageMagick command to PHP with the imagick extension. There is something here I'm not grasping (order of composing, how the layers are applied?). The command is the following: ...
0
votes
1answer
45 views

ffmpeg convert images to mp4 error

So I have a script that grabs a bunch of images from the web and then converts them into a movie. Yet I get a whole bunch of errors when I run it. First let me show what I am running and then I will ...
7
votes
1answer
91 views

Algorithm to determine “visual clarity”, or pixelation of an image

Is there any such way to determine how much an image could be enlarged until it is considered "out of focus"? A practical example (and the problem I'm trying to solve): I have an image saved at ...
0
votes
0answers
11 views

ImageMagick: png command-line works, pgmagick returns “no decode delegate”

On linux (Gentoo), when I use something like: convert test.png test.jpg all goes well, it works. The png delegate is also listed correctly, etc. However, when I use a pgmagick call like: ...
0
votes
2answers
28 views

Create a new image using Magick++

I have a vector something of this sort typedef struct { int r,g,b; } __attribute__((__packed__)) rgbs; vector<rgbs> rgbt; rgbs rgb; for(int row=0;row<100; row++) { for(int ...
0
votes
0answers
25 views

Images and thumbnails not being displayed while using rails and mongodb

I am a noob in using ruby on rails. I am trying to create a simple web app that fetches assets stored in mongodb and renders it on web browser. One of the assets is a photo and the other is a ...
0
votes
0answers
32 views

Crop image to exact sub-images

I know that with ImageMagick, we can crop an images to its "subimages" (or tiles). Now, let's say I've got images with a width of 480 pixels (the height is variable). Using this command, I'm able to ...
0
votes
0answers
26 views

Magick++/Include.h: No such file or directory

I'm on Ubuntu, 64-bit, using the GCC version 4.7.3. I have installed ImageMagick++ and it's development files(libmagick++-dev) and I try to run and I try to compile the code but I get the error in the ...
-1
votes
1answer
33 views

ImageMagick Needs a Dependency That Doesn't Exist?

In attempting to install the latest ImageMagick (and devel) RPM from http://www.imagemagick.org/download/linux/CentOS/x86_64/ I receive this message ImageMagick-libs = 6.8.5-8 is needed by ...
0
votes
0answers
16 views

imagick wont show color images in tiff

I have the following code $image = new Imagick($filename); $count = $image->getNumberImages(); $i = 1; foreach ( $image as $image ) { $image->setImageFormat('png'); ...
0
votes
1answer
50 views

svg to png conversion is not similar to svg

I am creating an SVG image, and then converting it to PNG. This is not working, however - the PNG is either not created or created incorrectly. Sample SVG: ...
0
votes
3answers
43 views

undefined method recreate_versions! for :string in carrierwave and rails 4.0.beta1

I am getting a: NoMethodError in UsersController#show undefined method `recreate_versions!' for "img1.jpg":String when I call: User.all.each do |user| user.photo.recreate_versions! end in my ...
0
votes
0answers
12 views

ImageMagick apostrophe not rendering in text creator

I'm trying to run the following command, but the apostrophe is always left out of the image: perl -e 'binmode(STDOUT, ":utf8"); print "Lee''s Magic Carpet";'| convert -fill black -font /tmp/font.ttf ...
1
vote
1answer
26 views

Extracting icons with imagemagick creates black stripes on transparency

For a project of mine I'm fetching websites favicons and storing them to be displayed in a website. Sounds pretty trivial, but I have one strange issue. Almost all icons come in a .ico format, which ...
1
vote
1answer
39 views

GetPixel after SetPixel gives incorrect result

I set pixel from one jpg. Save it another jpg file. Read a new file again. Get pixel. But it gives me incorrect result. That's my code: use Image::Magick; use Data::Dumper; my $im = new ...
0
votes
1answer
72 views

“pecl install imagick” fails on mountain lion. can't find “wand/MagickWand.h”

Pretty much what it sounds like. I did: brew install imagemagick That seemed to go well--so the problem is not with imagemagick itself. I then tried to install the PHP extension (updating pear and ...
0
votes
0answers
20 views

create data-plots or histograms in dev cpp

I just want to create and show an image, drawing some lines, setting some black pixels. However, after some hours trying to install/use packages I decided to ask you. In the end, this should result in ...
1
vote
0answers
46 views

PHP script sometimes stops executing in between before completion

I created a PHP script for generating image files, now I am using a combination of IMagick, ImageMagick to generate the JPEG image files. Now the problem is that at a time a group of image files are ...
1
vote
0answers
15 views

Working with a corrupted GIF

I'm trying to manipulate an image generated by the MapQuest traffic API. Here's an example. The image file that page generates appears to be corrupted (but not consistently). I can never edit it with ...
0
votes
1answer
35 views

Installing ImageMagick on WAMP (Win7) : Class not found

I've tried just about everything I've been able to find and so far nothing seems to work. Regardless of what I install, php always returns "Fatal error: Class 'Imagick' not found." My system is: ...

1 2 3 4 5 54