![]() |
php to auto-watermark images?
is it difficult to do? or is there an easy way to manually run a watermark utility on a linux server based folder of images, where it would only watermark images it hadn't watermarked already?
|
actually is there an open source code snippet you could recommend that might be integratable into an already existing image upload script?
|
|
I can not answer you, but I hope someone can, here is a bump for you.
I remember once in time asking almost the same questions here, but back then it was so much simple comparing to today. My stupid questions made me lots of cash over the years. I stop asking questions here and now my business are almost dead....... |
Here's some quick code that should help you out:
Code:
$watermark = imagecreatefrompng("path/to/watermark/file/here); |
|
Already in MY image upload script. ;)
|
or you could just run a shell command
Code:
for i in *.jpg;do composite -gravity southeast watermark.png $i $i;done |
thanks for the ideas :thumbsup
|
All times are GMT -7. The time now is 06:19 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123