Liquix Posted January 10, 2007 Share Posted January 10, 2007 Im using this code:[code]<?php$tmp_img = "URL to image";$tmp_img2 = "tmp-file save spot";$wmorig= "icon wich is gonna get stretched over the mask";$wmdest_y = "Height of image";$wmdest_x = "Width of image";$wmtarget = "Where the result is saved";exec("convert " . $tmp_img . " -fill white -colorize 100% -background xc:'#FF00FFFF' -flatten " . $tmp_img2 . "");exec("convert " . $tmp_img2 . " -size " . $wmdest_x . "x" . $wmdest_y . " tile:'" . $wmorig . "' -compose Multiply -composite " . $wmtarget . ""); ?>[/code]Im trying to do like this:[img]http://www.habbopalace.no/international/pic1.png.gif[/img] [b] [color=red][size=24pt]->[/size][/color][/b] [img]http://www.habbopalace.no/international/pic3.png.gif[/img] [b][color=red][size=24pt]+[/size][/color][/b] [img]http://www.habbopalace.no/international/icon-gadget2.gif[/img] [b][color=red][size=24pt]->[/size][/color][/b] [img]http://www.habbopalace.no/international/pic4.png.gif[/img]Problem is that it doesnt work at all =p Can someone edit my code to work? Link to comment https://forums.phpfreaks.com/topic/33562-imagemagick-cant-get-it-to-work-right/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.