Enjoy unlimited access to all forum features for FREE! Optional upgrade available for extra perks.
Sedo

Wanted: Service Software to watermark images?

Status
Not open for further replies.

SUNNY ARSLAN

Level 3
Legacy Platinum Member
Joined
Feb 17, 2006
Messages
82
Reaction score
0
I am going to start a wallpapers site and I want to watermark my wallpapers with my site name at the right bottom. I want you people to recommend me some good software so that I can easily watermark my images in batch mode without losing the quality of the wallpapers.
 
Dynadot - Expired Domain Auctions

namestrands

The Bishop
Legacy Exclusive Member
Joined
Jan 16, 2005
Messages
3,924
Reaction score
6
Simply Overlay your Images with a transparent PNG image with your watermark on it.

Something like this will do it simply. First Create your WaterMark image. Create a file called makeimage.php and use the image tag


PHP:
<img src="makeimg.php?photo=original_photo.jpg">

PHP:
<?php


header("Content-Type: image/jpeg");
//(because the script outputs picture)


$transparency = 40; //watermark's transparency (0-100)


//source photo
$source_photo = stripslashes($_GET['photo']);
$photo = imagecreatefromjpeg($source_photo);

//watermark
$watermark = imagecreatefrompng('watermark.png');
$watermark_width = imagesx($watermark);
$watermark_height = imagesy($watermark);

//location of the watermark on the source image
$size = getimagesize($source_photo);
$dest_x = ($size[0] - $watermark_width) / 2;
$dest_y = ($size[1] - $watermark_height) / 2;

//make the image (merge source image with watermark)
imagecopymerge($photo, $watermark, $dest_x, $dest_y, 0, 0, $watermark_width, $watermark_height, $transparency);

//output the image
imagejpeg($photo);

//free memory
imagedestroy($photo);
imagedestroy($watermark);

?>
 

SUNNY ARSLAN

Level 3
Legacy Platinum Member
Joined
Feb 17, 2006
Messages
82
Reaction score
0
I have a lot of images & I want batch watermark

Thanks.
 

SUNNY ARSLAN

Level 3
Legacy Platinum Member
Joined
Feb 17, 2006
Messages
82
Reaction score
0
Thanks for the help CoolJeba.

The thing I am looking is to watermark lot of images and want to do in Batch Mode.
 
Status
Not open for further replies.

Who has viewed this thread (Total: 1) View details

Who has watched this thread (Total: 3) View details

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Members Online

Sedo - it.com Premiums

IT.com

Premium Members

MariaBuy

Upcoming events

New Threads

Our Mods' Businesses

UrlPick.com

*the exceptional businesses of our esteemed moderators

Top Bottom