Page 1 of 1

Re: Problem creating overlaying photos

Posted: 2007-12-04T14:30:45-07:00
by Bonzo
Your white triangles are the parts left when the image is rotated - basicly the image is still square/rectangular.

Try this setting the background to none = transparent

Code: Select all

composite -geometry 90x90+40+40 -background none -rotate 5 ordinaryphoto.jpg overlaying.png overlaying.png
I have an example of it here: http://www.rubblewebs.co.uk/imagemagick ... ground.jpg

Re: Problem creating overlaying photos

Posted: 2007-12-04T15:21:59-07:00
by Bonzo
Can you post your code you are using.

Your version of ImageMagick may also help:

Code: Select all

<?php
echo "<pre>";
system("convert -version"); 
echo "</pre>";
?>
Is all the code on one line especialy the long line with the -composite in ?