Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Hi, this is my first thread, great forum by the way
I have a noob question. Same command is "not working" on different IM versions and OS. Is this because of different versions or I am doing something wrong? Thanks.
The old modulate (prior to IM v6.4.0-10) used HSB color space. Newer versions of IM use HSL colorspace, but (as of IM v6.5.3-7 and later) you can use a -define to set it to use HSB.
I upgraded IM to 6.7.1-7, and results were still odd, the problem was quoted colors with escaped shell command. I have removed quotes and it is working fine on CentOS. I've linked Your's and Anthony's website on http://net.tutsplus.com/tutorials/php/c ... -with-php/, without your extensive scripts it would be impossible to figure things out. Cheers.
If you are using PHP exec (?), then you have to be very careful about quoting and switching between double quote, single quotes and escaped quotes.
In the IM command line from a terminal, double quotes should work just fine. They are especially important when you have rgb colors in the cases where you have spaces there, such as "rgb(255, 100, 50)". It probably would work fine without the quotes if the spaces are removed. On some unix systems, you may have to quote hex values to avoid confusion with the #. However, I am not an expert on that. I always put my color values (not color names) in double quotes and have not had any problems doing so on my Mac OSX system (using the command line or my scripts from the terminal).