PHP Classes

File: how_to_use.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Classes of Richard Toth  >  RWatermark  >  how_to_use.php  >  Download  
File: how_to_use.php
Role: Example script
Content type: text/plain
Description: test for RWatermark
Class: RWatermark
Apply watermark identifiers to images
Author: By
Last change:
Date: 10 years ago
Size: 367 bytes


Class file image Download
require "./class.rwatermark.php";
$handle = new RWatermark(FILE_JPEG, "./original.jpg");
$handle->SetTransparentColor(255, 0, 255);
$handle->AddWatermark(FILE_PNG, "./watermark.png");
Header("Content-type: image/png");