Draw a primitive with OLE Object VBSCRIPT
Posted: 2013-01-25T13:31:49-07:00
Hello,
I'm trying to adapt the following sample coming from the official documentation :
convert -size 100x60 xc:skyblue -fill white -stroke black \
-draw "circle 50,30 40,10" draw_circle.gif
I'm trying to adapt it in VBSCRIPT as follow :
Set IMimg = CreateObject("ImageMagickObject.MagickImage.1")
IMimg.Convert "-size", "100x60", "xc:skyblue" ,"-fill", "white", "-draw", "'", "circle", "50,30", "40,10", "'", "c:\mytestfolder\draw_circle.gif"
Set IMimg= nothing
My image remains in Skyblue, but noting is DRAWN over it.
What is wrong in my syntax ?
Thank you very much ! I'm stuck
I'm trying to adapt the following sample coming from the official documentation :
convert -size 100x60 xc:skyblue -fill white -stroke black \
-draw "circle 50,30 40,10" draw_circle.gif
I'm trying to adapt it in VBSCRIPT as follow :
Set IMimg = CreateObject("ImageMagickObject.MagickImage.1")
IMimg.Convert "-size", "100x60", "xc:skyblue" ,"-fill", "white", "-draw", "'", "circle", "50,30", "40,10", "'", "c:\mytestfolder\draw_circle.gif"
Set IMimg= nothing
My image remains in Skyblue, but noting is DRAWN over it.
What is wrong in my syntax ?
Thank you very much ! I'm stuck