using draw command and crop together
Posted: 2011-12-17T13:29:48-07:00
hi,
i want to use -draw and crop command width together. is it possible?
my working command line code example :
convert Hydrangeas.jpg \
( Koala.jpg -crop 300x300+0+0 -matte -virtual-pixel transparent +distort SRT "0,0 1 30" -geometry +0+15 ) -composite \
( Koala.jpg -crop 300x300+0+0 -matte -virtual-pixel transparent +distort SRT "0,0 1 30" -geometry +300+300 ) -composite \
outputimage.jpg
i want to do this.
convert Hydrangeas.jpg ( -draw " translate +300+300 rotate 30 "crop" image over 0,0 0,0 Koala.jpg" ) -composite \
( -draw " translate +300+300 rotate 30 "crop" image over 0,0 0,0 Koala.jpg" ) -composite \
outputimage.jpg \
i know draw command doesn't crop modifier,
when i try to do this:
convert Hydrangeas.jpg ( -draw "image over 0,0 0,0 Koala.jpg" -crop 300x300+0+0 ) outputimage.jpg crop main canvas, and this is a problem
when i try to this:
convert Hydrangeas.jpg ( -draw "image over 0,0 0,0 Koala.jpg" -crop 300x300+0+0 ) -composite outputimage.jpg i am geting an error
d:\imagick_test>convert Hydrangeas.jpg ( -draw "image over 0,0 0,0 Koala.jpg" -
crop 300x300+0+0 ) -composite outputimage.jpg
convert.exe: missing an image filename `outputimage.jpg' @ error/convert.c/Conve
rtImageCommand/3016.
i currently work a greeting card aplication similar to shutterfly.com.
example.
http://fottom.fatpixel.net/images/8.jpg
Thank you
best regards
i want to use -draw and crop command width together. is it possible?
my working command line code example :
convert Hydrangeas.jpg \
( Koala.jpg -crop 300x300+0+0 -matte -virtual-pixel transparent +distort SRT "0,0 1 30" -geometry +0+15 ) -composite \
( Koala.jpg -crop 300x300+0+0 -matte -virtual-pixel transparent +distort SRT "0,0 1 30" -geometry +300+300 ) -composite \
outputimage.jpg
i want to do this.
convert Hydrangeas.jpg ( -draw " translate +300+300 rotate 30 "crop" image over 0,0 0,0 Koala.jpg" ) -composite \
( -draw " translate +300+300 rotate 30 "crop" image over 0,0 0,0 Koala.jpg" ) -composite \
outputimage.jpg \
i know draw command doesn't crop modifier,
when i try to do this:
convert Hydrangeas.jpg ( -draw "image over 0,0 0,0 Koala.jpg" -crop 300x300+0+0 ) outputimage.jpg crop main canvas, and this is a problem
when i try to this:
convert Hydrangeas.jpg ( -draw "image over 0,0 0,0 Koala.jpg" -crop 300x300+0+0 ) -composite outputimage.jpg i am geting an error
d:\imagick_test>convert Hydrangeas.jpg ( -draw "image over 0,0 0,0 Koala.jpg" -
crop 300x300+0+0 ) -composite outputimage.jpg
convert.exe: missing an image filename `outputimage.jpg' @ error/convert.c/Conve
rtImageCommand/3016.
i currently work a greeting card aplication similar to shutterfly.com.
example.
http://fottom.fatpixel.net/images/8.jpg
Thank you
best regards