Hi there, Thanks for your help! I'm actually looking to have the image directly pasted onto the image. The SVG is coming from a sort of whiteboard application and needs to be layered perfectly on the image. I'm assuming that I wont have to specify gravity and such as it will align it properly each time, the vector points should align them from the X and Y starting positions.
In essence as long as the both images start at the same X and Y they will align properly without me adjusting geometry or gravity perhaps not even depth. Right? lol. David On Jan 23, 2008 6:51 PM, Anthony Thyssen <[EMAIL PROTECTED]> wrote: > Fred Weinhaus on wrote... > | convert white to transparent in your 1.svg, then composite together > | > | > | convert 1.jpg \( 1.svg -transparent white \) -composite 1composite.jpg > | > | > | I believe that the result will be the size of the background image > | (1.jpg) automatically, but the 1.svg will overlay only as much as is > | in the top left area that is the size of the background. So anything > | outside the background area in the bottom or right will be cut off. > > You can adjust the size of the SVG image by adjusting the -density > setting before giving the SVG file to read. The larger the density, the > smaller the larger the SVG image becomes. You should also be able to > specify the background in the SVG itself does not paint the background. > > The top left position can also be adjusted using -geometry and -gravity > settings > > convert 1.jpg \( -density 150 -background none 1.svg \) \ > -gravity center -composite 1composite.jpg > > I have not downloaded your images, but tests on my own images shows that > these techniques work. I am currently trying to add to IM examples (see > below) to demonstrate these options. > > For other hints on handling SVG see.. > IM Examples Drawing... > IM and SVG handling > http://imagemagick.org/Usage/draw/#svg > > > Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]> > > ----------------------------------------------------------------------------- > Backup is irrelevant, your C drive will be assimilated > > ----------------------------------------------------------------------------- > Anthony's Home is his Castle > http://www.cit.gu.edu.au/~anthony/<http://www.cit.gu.edu.au/%7Eanthony/> > _______________________________________________ > Magick-users mailing list > [email protected] > http://studio.imagemagick.org/mailman/listinfo/magick-users > -- David Di Biase _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
