Menu
Tag

Watermark

Add Watermark Image in PHP | Create Watermark in PHP

PHP By Feb 19, 2016 1 Comment

Add watermark image in PHP its our new tutorial. You can add your watermark image to your image. Now you dont need to open Photoshop and do this. Here is the very simple and short code for adding your image. addWaterMark(“Your path to image”); function addWaterMark($filename){ $logoImage = imagecreatefrompng(‘logo.png’); $logoWidth=imagesx($logoImage); $logoHeight=imagesy($logoImage); $im = imagecreatefromjpeg($filename); $sx = imagesx($im); $sy = imagesy($im);…