PHP Classes

File: Examples/Background_Example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Classes of Tufan Baris YILDIRIM  >  Image Processor (CSS)  >  Examples/Background_Example.php  >  Download  
File: Examples/Background_Example.php
Role: Example script
Content type: text/plain
Description: background image repeat example
Class: Image Processor (CSS)
Draw images defined with CSS like properties
Author: By
Last change: path...
Date: 5 years ago
Size: 558 bytes


Class file image Download
include '../D3Image.php';
// Creating Small Signature Image
$image=new D3Image('width:150px;height:30px;background:#000;');
$image->Write('D3Image v1.0','font-size:12px;color:#FFFFFF;align:center');
$bg=new D3Image('width:500px;height:500px;background:#fff');
$bg->Add($image,'align:bottom right;opacity:60'); // Signature Adding to right bottom of image