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 would create a gradiant and rotate it; then use that for the background. Something like this http://www.rubblewebs.co.uk/imagemagick ... adiant.png
One problem I can see is the angle of rotation will depend on the width of the button.
Anthony, I tried the examples at the link you provided but could not get anything to work. I think that -fx might be the best tool, but I did not understand how to use it.
I use the following code to DYNAMICALLY create a button:
The problem is generating a gradient at the specific size of an existing image.
This is currently difficult, almost as difficult as generating a rounded rectangle
at the right size. Both problems have a solution whcih is in the think tank, but not yet resolve enough for implementing.
Now the only problem is that the final canvas size is too big. There is extra transparent space on all sides of my button.
I looked through the documentation for a way to crop all extra transparent canvas space but found nothing.