Jump to content


Photo

Text to Image Help


  • Please log in to reply
3 replies to this topic

#1 thenk83

thenk83
  • Members
  • Pip
  • Newbie
  • 7 posts

Posted 03 May 2006 - 07:52 PM

This is what I have goin on. This code outputs a 1. Basically all I'm trying to do is add a Copyright sentence to images. All it seems to do is overwrite the image, but adds no text. I've gotten eveything else with ImageMagick working but this. Any ideas or words of wisdom. I'm terribly stumped.

exec ('$magic/convert -font arial -fill white -pointsize 10 -gravity southeast -draw 'text 10,10 \"Copyright Mike Dantignac Photography\"' $full_path/$file $full_path/$file', $array, $status);


#2 rburch

rburch
  • Members
  • PipPip
  • Member
  • 10 posts

Posted 03 May 2006 - 10:55 PM

I don't know how to do this in PHP, but you can do this in javascript - although it is not fool-proof. Go to: [a href=\"http://javascript.internet.com/page-details/no-right-click.html\" target=\"_blank\"]http://javascript.internet.com/page-detail...ight-click.html[/a]
"...there's a difference between knowing the path and walking the path." - The Matrix

#3 Caesar

Caesar
  • Members
  • PipPipPip
  • Advanced Member
  • 1,025 posts

Posted 03 May 2006 - 11:33 PM

Are you trying to implement Watermarking?

Try looking [a href=\"http://us3.php.net/imagecopymerge\" target=\"_blank\"]here[/a].
PHP Ninja

#4 ansarka

ansarka
  • Members
  • PipPipPip
  • Advanced Member
  • 128 posts
  • LocationCochin, Kerala, India

Posted 04 May 2006 - 10:07 AM

Plz click te link below you will find the code you are looking for

[a href=\"http://smallcapitalbusiness.com/freescript.php\" target=\"_blank\"]http://smallcapitalbusiness.com/freescript.php[/a]
EVEN THE WORD IMPOSSIBLE IS SAYING I' M' POSSIBLE




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users