Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Bonzo
Posts: 2971 Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England
Contact:
Post
by Bonzo » 2007-12-04T14:30:45-07:00
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
Bonzo
Posts: 2971 Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England
Contact:
Post
by Bonzo » 2007-12-04T15:21:59-07:00
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 ?
Users browsing this forum: Amazon [Bot] , Google [Bot] and 8 guests