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?".
i have already solve the problem of make a pdf in multiple steps this is a really fun lib
i have another question, there is a way to make a horizontal blur and a vertical blur?, i mean the -blur make a blur but from center, i want to make a left to right blur, or a up to down blur.
-motion-blur should be what you want, but it may not be working correctly. Give it a try, but if it does not work to your satisfaction then you need to compose a filter using -convolve. Here is an example of a horizontal blur 15 pixels wide:
I am not sure. You may not have enough memory? But try taking out all the backslashes and make the filt15 variable definition all one long line. Be sure not to remove any commas or the quotes.
If you are on Windows, you may need to use double backslashes \\ (escape the backslash as that is a special character on Windows) or remove them.
It is supposed to create the equivalent of a 1D horizontal blur of 15 pixels using a uniform convolution kernel. IM -convolve cannot handle 1D, non-square or even kernels. This is the equivalent of a proper motion blur as a camera would see it. IM has -motion-blur, but it is not symmetric nor does it have uniform weights, but is 1D.
The filter as I created it with the continuation backslashes works fine in Unix. But I am afraid that \ is not a continuation character in Windows. Thus the need to remove them all.
Even though IM -convolve requires square filters, they have to be expressed as one long comma delimited string. The \ for continuation was just a convenience to make it look like it is 2D.
Do two motion blurs, one in each direction, and then average those two images together. I do this for creating 'star' rays in http://imagemagick.org/Usage/advanced/#stars
Though I repeat it at multiple angles.