Intelligent Watermark (php + gd)

Online Photoshop in PHP Part (5) >> (image after watermarked with gmail logo) Those who haven’t seen  the online photoshop tool created by me, just click here: http://www.sajithmr.com/photoshop Today we will implement the watermarking on images using php gd library. Intelligent watermarking means, apply a logo or a watermark image on another image by measuring [...]

3 Comments , , , , , , , ,

Crop Image Like Orkut

Online Photoshop in PHP (Series Part 4) >> Today we will discuss about cropping of images using php and gd library. Look at the simple example here: http://www.sajithmr.com/photoshop-tuts/crop/simplecrop.php $x1 = $_GET['x1']; $y1 = $_GET['y1']; $x2 = $_GET['x2']; $y2 = $_GET['y2']; $image_object = imagecreatefromjpeg(‘hari.jpg’); $image_cropped = Crop($image_object,$x1, $y1, $x2,$y2); $temp_path = rand(1,99999).”hari.jpg”; imagejpeg( $image_cropped,$temp_path); header(‘Location: simplecrop.php?img=’.$temp_path [...]

19 Comments , , , ,

Online Photoshop in PHP (Series Part 3)

Resize a Photo >> Today we will implement hows to resize photo into a particular width and height (or keeping aspect ratio) See the live example from: http://www.sajithmr.com/photoshop-tuts/resize/resize.php You need to install php-gd library to do this. To functions, imagecreatetruecolor and imagecopyresampled will do the resizing. Those who have not seen the Online Photo Editing [...]

2 Comments , , ,

Online Photoshop in PHP (Series Part 1)

Introduction >> As i announced in my birthday post: celebrating-1st-year-of-sajithmr.com , i am starting my post series How to make Photoshop Express in PHP Before we starting the step by step procedure, have a look at : http://www.sajithmr.me/photoshop/index.php This is a basic version of online photo editing tool. You can either upload a photo to [...]

6 Comments , , , , , , , , , ,