Want image to be size of rounded-rectangle: without -size
Posted: 2007-08-10T09:52:35-07:00
Hello,
I would like to create an image that is EXACTLY the size of my rounded-rectangle.
However this does NOT work:And this does NOT work either:Those both give me an image that is ONLY 1px by 1 px.
I can NOT use the size attribute like this
because the size is created dynamically and placed into a mvg file.
Any ideas?
Thanks!
Thanks!
I would like to create an image that is EXACTLY the size of my rounded-rectangle.
However this does NOT work:
Code: Select all
convert xc:skyblue -fill white -stroke black \
-draw "roundrectangle 20,10 80,50 20,15" draw_rrect.gif
Code: Select all
convert xc:skyblue -fill white -stroke black \
-draw ""@rounded_corner.mvg" draw_rrect.gif
I can NOT use the size attribute like this
Code: Select all
convert -size 100x60 xc:skyblue -fill white -stroke black \
-draw "roundrectangle 20,10 80,50 20,15" draw_rrect.gif
Any ideas?
Thanks!
Thanks!