Hmmm, well it looks like I got this to work: convert 1194.jpg -gravity SouthWest -append profile_logo.png -flatten out.jpg
The issue now is that it's not aligning in the southwest corner! What might I be doing incorrectly? I've tried a few variations now without luck. On Fri, May 8, 2009 at 5:42 PM, Fred Weinhaus <[email protected]> wrote: > Dave, > > I am not a IM/PHP expert, but have you tried the convert equivalent. > see http://www.imagemagick.org/Usage/layers/#convert > > > Also have you checked the permissions of the directory where you are > putting the images. > > Also you many have to provide the full path to where IM is located, > often either > > /usr/local/bin > > or > > /user/bin/ > > Then add composite or convert right after that with no spaces. > > With such old versions of IM there could easily be version issues. > > Fred > > > > >Hi there, > > > >I'm running this command via PHP on my server to composite a logo onto a > >larger image: > > > >shell_exec("composite -gravity SouthWest {$logo_path} {$input_file} > >{$output_file}"); > > > >When I run it locally, everything seems to work properly but when I load > it > >to my live site the command seems to run correctly but then doesn't > generate > >the image! > _______________________________________________ > Magick-users mailing list > [email protected] > http://studio.imagemagick.org/mailman/listinfo/magick-users > _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
