ImageManager
[ class tree: ImageManager ] [ index: ImageManager ] [ all elements ]

Class: watermark

Source Location: /main/inc/lib/fckeditor/editor/plugins/ImageManager/Classes/api.watermark.php

Class Overview


Watermarking API


Author(s):

  • $Author: Paul Moers <mail@saulmade.nl> $ - small changes to place the watermark on a given coordinate and to only handle watermark area
  • $Author: Brian Vaughn $ http://boynamedbri.com/ - http://portfolio.boynamedbri.com/ - @ devshed http://www.devshed.com/c/a/PHP/Dynamic-Watermarking-with-PHP/

Methods



Class Details

[line 9]
Watermarking API



Tags:

author:  $Author: Paul Moers <mail@saulmade.nl> $ - small changes to place the watermark on a given coordinate and to only handle watermark area
author:  $Author: Brian Vaughn $ http://boynamedbri.com/ - http://portfolio.boynamedbri.com/ - @ devshed http://www.devshed.com/c/a/PHP/Dynamic-Watermarking-with-PHP/
filesource:  Source Code for this file


[ Top ]


Class Methods


method create_watermark [line 12]

void create_watermark( $main_img_obj, $watermark_img_obj, [ $alpha_level = 100], [ $watermarkX = -1], [ $watermarkY = -1])



Parameters:

   $main_img_obj  
   $watermark_img_obj  
   $alpha_level  
   $watermarkX  
   $watermarkY  

[ Top ]

method _get_ave_color [line 89]

void _get_ave_color( $color_a, $color_b, $alpha_level)



Parameters:

   $color_a  
   $color_b  
   $alpha_level  

[ Top ]

method _get_image_color [line 94]

void _get_image_color( $im, $r, $g, $b)



Parameters:

   $im  
   $r  
   $g  
   $b  

[ Top ]


Documentation generated on Thu, 12 Jun 2008 12:59:09 -0500 by phpDocumentor 1.4.1