I've compiled the latest version of imagemagick for the mac and I get the assertion below when I load a particular png file. This is a bit of a hassle as it crashes the program in debug mode. Anyone ever seen this before? Any workarounds?
Assertion failed: (quantum_info->signature == MagickSignature),
function DestroyQuantumInfo, file...
Hi! I have many (about 1000) images (printscreens), and I need to crop these images (all cropped images are in the same region in the full image).
How can I do this in php? Or maybe GIMP is supporting some macro scripts to do this?
Thanks in advance.
...
Right now I'm using the following:
export CFLAGS="-O2-isysroot/Developer/SDKs/MacOSX10.5.sdk -arch i386 -I/sw/include/"
export LDFLAGS="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk,-L/sw/lib/"
sudo ./configure --prefix=/sw --with-quantum-depth=16 --disable-dependency-tracking --with-x=no --without-perl --enable-static --disable-share...
Hiya,
I was wondering if anyone knows how to automatically convert PDF's to JPGs in Drupal when a user uploads, i'm able to create a script to do the actual conversion but my dilema is being able to catch the file on upload and the process it. (or if there is a script/module that already does it it would be even better!).
Thanks in adv...
Having difficulties with Imagemagick and Snow Leopard.
Imagemagick was installed using the install script from here here. Everything builds and installs correctly. Imagemagick behave normally for all commands (that I can find) except when trying to convert a PDF. For example,
$ convert my.pdf my.jpg
Segmetation Fault
I thought it ...
Greetings,
I need to programatically append to a multi-page TIFF or PDF a new image. The problem is that the individual images (that compose the multi-page one) have large resolutions and ImageMagick first loads the entire multi-page image into memory, which takes all the system's memory.
I need to be able to append to a multi-page ima...
ImageMagick can draw text into a picture in a given font, how can I see all available fonts for my system?
...
Are fonts in ImageMagick system dependent, or do they come inside ImageMagick and can be equally used in any platform.
...
Hi,
When I open a command window in windows and use the imagemagick convert command:
convert /somedir/Garden.jpg /somedir/Garden.png
It works as expected.
What I am trying to do is executing the same command as above using C#.
I tried using System.Diagnostics.Process, however, no foo.png gets created.
I am using this code:
...
What is the most direct way to draw a pie chart using ImageMagick in an existing image. For example, how would I draw a single slice given the following inputs?
A center point (x,y)
Radius
Percent
...
using the latest version of imageMagick for windows (downloaded today)
small_image.jpg = 16x16
large_image.jpg = 800x600
convert small_image.jpg -gravity Center -resize '208x120>' -background white -extent 208x120 s_icon.gif
produces: "convert: invalid geometry `'208x120' @ geometry.c/ParseRegionGeometry/1322" yet it still produces a 2...
I have been using ImageMagick running on a Windows 2003 server that is called in a PHP script to create a thumbnail of an image using the following command:
$cmd = "convert.exe \"". $fullpath . "\" -resize \"" . res_image_width ."x" . res_image_height . ">\" \"". $fullpath. "\" 2>&1";
passthru($cmd);
I have now moved this functionalit...
I'm running windows xp and I've got MiniMagick and ImageMagick installed (latest versions). I'm now using the console to test out that everything works. Using the ms command prompt image magick works no problem. I'm testing this by using the identify command. Now, when I try to use MiniMagick from the console by entering
image = MiniMag...
Installing imagemagick works.
But when I try to run a command it says bad cpu type.
What is this and how do I get rid of it so that it works right?
N.b. I'm 'behind the times' and only using a core solo (if that helps)
...
Hi,
i'm struggling with this:
i'm building a table-like image.
All goes well, but i can't get this to work:
i want to place some text at x,y: 10,10, but want to right align it in an area of 40x40.
Why? because they are numbers. When i draw text it's ok to place it at 10,10; it will by default be placed at 10,10 and thus be left-aligned....
When I try to run a bunch of PNG-8 images with alpha transparency through Imagemagick, it converts them to PNG-32, increasing the file size a lot.
Is it possible to force Imagemagick to keep my image type as 8-bit PNG?
...
Hi
I have an upcoming project which is about image segmentation i.e. to group the pixels constituting the image into clusters based on certain visual properties of the pixel.
We plan to do it in C++ and have zeroed in on two image processing/manipulation libraries - OpenCV and ImageMagick. I'm reading on ImageMagick and it seems it has...
I have some code which is resizing images, using either Imagick or GD, depending what's available on the server.
I'm testing for availability of each using the extension_loaded() function.
if (extension_loaded('imagick')) {
$image = new Imagick();
...
}
I have one user reporting that they are receiving:
Fatal error: Class...
I have a bunch of images that have a single color overlay with some text on it positioned at the bottom. Not all images have the overlay and the overlay is not of the same height on every picture.
I am looking for a way to detect the overlay rectangle, and crop only the part of the image without it.
Trim seems the logical way to go, b...
Looks like it is reading the wrong jpeg ibrary, but I have jpeg 7 installed. How do i tell ImageMagick to look up the right JPEG library version(I don't care 62 or 70 as long as it works).
here is the instruction i am following
...