XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
phpthumb_filters Class Reference

Public Member Functions

 ApplyMask (&$gdimg_mask, &$gdimg_image)
 
 Bevel (&$gdimg, $width, $hexcolor1, $hexcolor2)
 
 Blur (&$gdimg, $radius=0.5)
 
 BlurGaussian (&$gdimg)
 
 BlurSelective (&$gdimg)
 
 Brightness (&$gdimg, $amount=0)
 
 Colorize (&$gdimg, $amount, $targetColor)
 
 Contrast (&$gdimg, $amount=0)
 
 Crop (&$gdimg, $left=0, $right=0, $top=0, $bottom=0)
 
 DebugMessage ($message, $file='', $line='')
 
 Desaturate (&$gdimg, $amount, $color='')
 
 DropShadow (&$gdimg, $distance, $width, $hexcolor, $angle, $alpha)
 
 EdgeDetect (&$gdimg)
 
 Elipse ($gdimg)
 
 Emboss (&$gdimg)
 
 Flip (&$gdimg, $x=false, $y=false)
 
 Frame (&$gdimg, $frame_width, $edge_width, $hexcolor_frame, $hexcolor1, $hexcolor2)
 
 Gamma (&$gdimg, $amount)
 
 Grayscale (&$gdimg)
 
 HistogramAnalysis (&$gdimg, $calculateGray=false)
 
 HistogramOverlay (&$gdimg, $bands='*', $colors='', $width=0.25, $height=0.25, $alignment='BR', $opacity=50, $margin_x=5, $margin_y=null)
 
 HistogramStretch (&$gdimg, $band='*', $method=0, $threshold=0.1)
 
 ImageBorder (&$gdimg, $border_width, $radius_x, $radius_y, $hexcolor_border)
 
 ImageTrueColorToPalette2 (&$image, $dither, $ncolors)
 
 ImprovedImageRotate (&$gdimg_source, $rotate_angle=0, $config_background_hexcolor='FFFFFF', $bg=null)
 
 MeanRemoval (&$gdimg)
 
 Negative (&$gdimg)
 
 phpthumb_filters ()
 
 ReduceColorDepth (&$gdimg, $colors=256, $dither=true)
 
 RoundedImageCorners (&$gdimg, $radius_x, $radius_y)
 
 Saturation (&$gdimg, $amount, $color='')
 
 Sepia (&$gdimg, $amount, $targetColor)
 
 Smooth (&$gdimg, $amount=6)
 
 SourceTransparentColorMask (&$gdimg, $hexcolor, $min_limit=5, $max_limit=10)
 
 Threshold (&$gdimg, $cutoff)
 
 WatermarkOverlay (&$gdimg_dest, &$img_watermark, $alignment='*', $opacity=50, $margin_x=5, $margin_y=null)
 
 WatermarkText (&$gdimg, $text, $size, $alignment, $hex_color='000000', $ttffont='', $opacity=100, $margin=5, $angle=0, $bg_color=false, $bg_opacity=0, $fillextend='')
 
 WhiteBalance (&$gdimg, $targetColor='')
 

Public Attributes

 $phpThumbObject = null
 

Detailed Description

phpThumb() by James Heinrich info@.nosp@m.sili.nosp@m.softw.nosp@m.are..nosp@m.com // //

Definition at line 11 of file phpthumb.filters.php.

Member Function Documentation

phpthumb_filters::ApplyMask ( $gdimg_mask,
$gdimg_image 
)
phpthumb_filters::Bevel ( $gdimg,
  $width,
  $hexcolor1,
  $hexcolor2 
)

Definition at line 68 of file phpthumb.filters.php.

References $i, and phpthumb_functions\ImageHexColorAllocate().

Here is the call graph for this function:

phpthumb_filters::Blur ( $gdimg,
  $radius = 0.5 
)

Definition at line 88 of file phpthumb.filters.php.

References $i.

Referenced by BlurGaussian().

Here is the caller graph for this function:

phpthumb_filters::BlurGaussian ( $gdimg)

Definition at line 124 of file phpthumb.filters.php.

References Blur(), DebugMessage(), phpthumb_functions\gd_is_bundled(), and phpthumb_functions\version_compare_replacement().

Here is the call graph for this function:

phpthumb_filters::BlurSelective ( $gdimg)

Definition at line 137 of file phpthumb.filters.php.

References DebugMessage(), phpthumb_functions\gd_is_bundled(), and phpthumb_functions\version_compare_replacement().

Here is the call graph for this function:

phpthumb_filters::Brightness ( $gdimg,
  $amount = 0 
)
phpthumb_filters::Colorize ( $gdimg,
  $amount,
  $targetColor 
)

Definition at line 215 of file phpthumb.filters.php.

References DebugMessage(), phpthumb_functions\gd_is_bundled(), phpthumb_functions\GetPixelColor(), phpthumb_functions\GrayscalePixel(), phpthumb_functions\IsHexColor(), and phpthumb_functions\version_compare_replacement().

Referenced by Desaturate(), and Grayscale().

Here is the call graph for this function:

Here is the caller graph for this function:

phpthumb_filters::Contrast ( $gdimg,
  $amount = 0 
)
phpthumb_filters::Crop ( $gdimg,
  $left = 0,
  $right = 0,
  $top = 0,
  $bottom = 0 
)

Definition at line 263 of file phpthumb.filters.php.

phpthumb_filters::DebugMessage (   $message,
  $file = '',
  $line = '' 
)
phpthumb_filters::Desaturate ( $gdimg,
  $amount,
  $color = '' 
)

Definition at line 291 of file phpthumb.filters.php.

References Colorize(), and phpthumb_functions\IsHexColor().

Referenced by Saturation().

Here is the call graph for this function:

Here is the caller graph for this function:

phpthumb_filters::DropShadow ( $gdimg,
  $distance,
  $width,
  $hexcolor,
  $angle,
  $alpha 
)
phpthumb_filters::EdgeDetect ( $gdimg)

Definition at line 381 of file phpthumb.filters.php.

References DebugMessage(), phpthumb_functions\gd_is_bundled(), and phpthumb_functions\version_compare_replacement().

Here is the call graph for this function:

phpthumb_filters::Elipse (   $gdimg)

Definition at line 395 of file phpthumb.filters.php.

References ApplyMask(), DebugMessage(), phpthumb_functions\gd_version(), and phpthumb_functions\ImageCreateFunction().

Here is the call graph for this function:

phpthumb_filters::Emboss ( $gdimg)

Definition at line 422 of file phpthumb.filters.php.

References DebugMessage(), phpthumb_functions\gd_is_bundled(), and phpthumb_functions\version_compare_replacement().

Here is the call graph for this function:

phpthumb_filters::Flip ( $gdimg,
  $x = false,
  $y = false 
)

Definition at line 436 of file phpthumb.filters.php.

References phpthumb_functions\ImageCreateFunction().

Here is the call graph for this function:

phpthumb_filters::Frame ( $gdimg,
  $frame_width,
  $edge_width,
  $hexcolor_frame,
  $hexcolor1,
  $hexcolor2 
)

Definition at line 459 of file phpthumb.filters.php.

References $i, and phpthumb_functions\ImageHexColorAllocate().

Here is the call graph for this function:

phpthumb_filters::Gamma ( $gdimg,
  $amount 
)

Definition at line 491 of file phpthumb.filters.php.

phpthumb_filters::Grayscale ( $gdimg)

Definition at line 499 of file phpthumb.filters.php.

References Colorize(), DebugMessage(), phpthumb_functions\gd_is_bundled(), and phpthumb_functions\version_compare_replacement().

Here is the call graph for this function:

phpthumb_filters::HistogramAnalysis ( $gdimg,
  $calculateGray = false 
)

Definition at line 511 of file phpthumb.filters.php.

References phpthumb_functions\GetPixelColor(), and phpthumb_functions\GrayscalePixel().

Referenced by HistogramOverlay(), HistogramStretch(), and WhiteBalance().

Here is the call graph for this function:

Here is the caller graph for this function:

phpthumb_filters::HistogramOverlay ( $gdimg,
  $bands = '*',
  $colors = '',
  $width = 0.25,
  $height = 0.25,
  $alignment = 'BR',
  $opacity = 50,
  $margin_x = 5,
  $margin_y = null 
)
phpthumb_filters::HistogramStretch ( $gdimg,
  $band = '*',
  $method = 0,
  $threshold = 0.1 
)

Definition at line 538 of file phpthumb.filters.php.

References $i, $method, phpthumb_functions\GetPixelColor(), HistogramAnalysis(), and phpthumb_functions\ImageColorAllocateAlphaSafe().

Here is the call graph for this function:

phpthumb_filters::ImageBorder ( $gdimg,
  $border_width,
  $radius_x,
  $radius_y,
  $hexcolor_border 
)
phpthumb_filters::ImageTrueColorToPalette2 ( $image,
  $dither,
  $ncolors 
)

Definition at line 1040 of file phpthumb.filters.php.

References $image.

Referenced by ReduceColorDepth().

Here is the caller graph for this function:

phpthumb_filters::ImprovedImageRotate ( $gdimg_source,
  $rotate_angle = 0,
  $config_background_hexcolor = 'FFFFFF',
  $bg = null 
)

Definition at line 746 of file phpthumb.filters.php.

References $i, phpthumb_functions\gd_version(), phpthumb_functions\GetPixelColor(), phpthumb_functions\ImageCreateFunction(), phpthumb_functions\ImageHexColorAllocate(), and phpthumb_filters().

Referenced by phpthumb\Rotate().

Here is the call graph for this function:

Here is the caller graph for this function:

phpthumb_filters::MeanRemoval ( $gdimg)

Definition at line 841 of file phpthumb.filters.php.

References DebugMessage(), phpthumb_functions\gd_is_bundled(), and phpthumb_functions\version_compare_replacement().

Here is the call graph for this function:

phpthumb_filters::Negative ( $gdimg)
phpthumb_filters::phpthumb_filters ( )

Definition at line 15 of file phpthumb.filters.php.

Referenced by ImprovedImageRotate().

Here is the caller graph for this function:

phpthumb_filters::ReduceColorDepth ( $gdimg,
  $colors = 256,
  $dither = true 
)

Definition at line 1054 of file phpthumb.filters.php.

References ImageTrueColorToPalette2().

Here is the call graph for this function:

phpthumb_filters::RoundedImageCorners ( $gdimg,
  $radius_x,
  $radius_y 
)

Definition at line 876 of file phpthumb.filters.php.

References ApplyMask(), DebugMessage(), and phpthumb_functions\ImageCreateFunction().

Here is the call graph for this function:

phpthumb_filters::Saturation ( $gdimg,
  $amount,
  $color = '' 
)

Definition at line 910 of file phpthumb.filters.php.

References Desaturate().

Here is the call graph for this function:

phpthumb_filters::Smooth ( $gdimg,
  $amount = 6 
)

Definition at line 978 of file phpthumb.filters.php.

References DebugMessage(), phpthumb_functions\gd_is_bundled(), and phpthumb_functions\version_compare_replacement().

Here is the call graph for this function:

phpthumb_filters::SourceTransparentColorMask ( $gdimg,
  $hexcolor,
  $min_limit = 5,
  $max_limit = 10 
)

Definition at line 996 of file phpthumb.filters.php.

References phpthumb_functions\GetPixelColor(), and phpthumb_functions\PixelColorDifferencePercent().

Here is the call graph for this function:

phpthumb_filters::Threshold ( $gdimg,
  $cutoff 
)

Definition at line 1020 of file phpthumb.filters.php.

References phpthumb_functions\GetPixelColor(), phpthumb_functions\GrayscalePixel(), and phpthumb_functions\ImageColorAllocateAlphaSafe().

Here is the call graph for this function:

phpthumb_filters::WatermarkOverlay ( $gdimg_dest,
$img_watermark,
  $alignment = '*',
  $opacity = 50,
  $margin_x = 5,
  $margin_y = null 
)

Definition at line 1412 of file phpthumb.filters.php.

References phpthumb_functions\ImageColorAllocateAlphaSafe(), phpthumb_functions\ImageCopyRespectAlpha(), and phpthumb_functions\ImageCreateFunction().

Referenced by HistogramOverlay(), and WatermarkText().

Here is the call graph for this function:

Here is the caller graph for this function:

phpthumb_filters::WatermarkText ( $gdimg,
  $text,
  $size,
  $alignment,
  $hex_color = '000000',
  $ttffont = '',
  $opacity = 100,
  $margin = 5,
  $angle = 0,
  $bg_color = false,
  $bg_opacity = 0,
  $fillextend = '' 
)
phpthumb_filters::WhiteBalance ( $gdimg,
  $targetColor = '' 
)

Member Data Documentation

phpthumb_filters::$phpThumbObject = null

Definition at line 13 of file phpthumb.filters.php.


The documentation for this class was generated from the following file: