FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Slapping a WaterMark Automatically.





moejoe
Hi,

Is there a way to input (through php) some text (or smaller image) onto another image automatically. (When i mean automatically, i mean without me opening up Fireworks and editing every photo in my DB one by one.)

So lets say my PHP portal has an Upload image .php, and the image gets added to the portal instantly, to make sure it does not get stolen without a watermark, the php scripts writes text to the file automatically.

Any basic tutorial will be greatly appreciated

Thanks In advance.
yjwong
You could use the image functions in PHP. Check here for a list of image functions. You need to have the GD extension enabled in your PHP.
moejoe
Hey Thanks.

I Found:
imagefttext ( resource image, float size, float angle, int x, int y, int col, string font_file, string text)

Should Work.

Could Someone show me an example if they have it?

Cheers.
calvinchin
Hi there,

If you put text or image onto another image, will it violates the
copyright law? Wink

Here is "Auto Copyrights" that I read thru, so better watch out
of it.

I would like to know too for original images watermark feature ! Wink
Marston
moejoe wrote:
Hey Thanks.

I Found:
imagefttext ( resource image, float size, float angle, int x, int y, int col, string font_file, string text)

Should Work.

Could Someone show me an example if they have it?

Cheers.
imagefttext() doesn't work on server 2, by the way...
moejoe
calvinchin wrote:
Hi there,

If you put text or image onto another image, will it violates the
copyright law? Wink

Here is "Auto Copyrights" that I read thru, so better watch out
of it.

I would like to know too for original images watermark feature ! Wink



Wouldn't Ebaumsworld Be Shut Down about 300,000 Times Over Then!?
Laughing Laughing Laughing Laughing
Related topics
who owns the copyright of digital photos?
Script to automatically restart Apache (for server 1)
Waters marks
Automatically submitting a form.
Writer's Circle -Read|Review|Critique-
Watermark in gif animations
automatically eject the Cddrive
HELP.....! My computer downloads & uploads automatically
Automatically Locking Topics
Monday Night RAW, 7/30/07
small time graphic needed... will pay good money
Photobucket
Acces another site which needs login automatically via php..
i am using chat box but its not refreshing automatically.
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.