XOOPS 2.5.6
Final
|
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 | |
phpThumb() by James Heinrich info@ // // sili softw are. com
Definition at line 11 of file phpthumb.filters.php.
phpthumb_filters::ApplyMask | ( | & | $gdimg_mask, |
& | $gdimg_image | ||
) |
Definition at line 19 of file phpthumb.filters.php.
References DebugMessage(), phpthumb_functions\gd_version(), phpthumb_functions\GetPixelColor(), phpthumb_functions\GrayscalePixel(), phpthumb_functions\ImageColorAllocateAlphaSafe(), phpthumb_functions\ImageCreateFunction(), and phpthumb_functions\version_compare_replacement().
Referenced by Elipse(), RoundedImageCorners(), and WatermarkText().
phpthumb_filters::Bevel | ( | & | $gdimg, |
$width, | |||
$hexcolor1, | |||
$hexcolor2 | |||
) |
Definition at line 68 of file phpthumb.filters.php.
References $i, and phpthumb_functions\ImageHexColorAllocate().
phpthumb_filters::Blur | ( | & | $gdimg, |
$radius = 0.5 |
|||
) |
Definition at line 88 of file phpthumb.filters.php.
References $i.
Referenced by BlurGaussian().
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().
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().
phpthumb_filters::Brightness | ( | & | $gdimg, |
$amount = 0 |
|||
) |
Definition at line 151 of file phpthumb.filters.php.
References DebugMessage(), phpthumb_functions\gd_is_bundled(), phpthumb_functions\GetPixelColor(), and phpthumb_functions\version_compare_replacement().
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().
phpthumb_filters::Contrast | ( | & | $gdimg, |
$amount = 0 |
|||
) |
Definition at line 181 of file phpthumb.filters.php.
References DebugMessage(), phpthumb_functions\gd_is_bundled(), phpthumb_functions\GetPixelColor(), and phpthumb_functions\version_compare_replacement().
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 = '' |
|||
) |
Definition at line 1538 of file phpthumb.filters.php.
References $file.
Referenced by ApplyMask(), BlurGaussian(), BlurSelective(), Brightness(), Colorize(), Contrast(), EdgeDetect(), Elipse(), Emboss(), Grayscale(), ImageBorder(), MeanRemoval(), Negative(), RoundedImageCorners(), Sepia(), Smooth(), and WatermarkText().
phpthumb_filters::Desaturate | ( | & | $gdimg, |
$amount, | |||
$color = '' |
|||
) |
Definition at line 291 of file phpthumb.filters.php.
References Colorize(), and phpthumb_functions\IsHexColor().
Referenced by Saturation().
phpthumb_filters::DropShadow | ( | & | $gdimg, |
$distance, | |||
$width, | |||
$hexcolor, | |||
$angle, | |||
$alpha | |||
) |
Definition at line 299 of file phpthumb.filters.php.
References $i, phpthumb_functions\gd_version(), phpthumb_functions\GetPixelColor(), phpthumb_functions\ImageColorAllocateAlphaSafe(), phpthumb_functions\ImageCreateFunction(), and phpthumb_functions\ImageHexColorAllocate().
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().
phpthumb_filters::Elipse | ( | $gdimg | ) |
Definition at line 395 of file phpthumb.filters.php.
References ApplyMask(), DebugMessage(), phpthumb_functions\gd_version(), and phpthumb_functions\ImageCreateFunction().
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().
Definition at line 436 of file phpthumb.filters.php.
References phpthumb_functions\ImageCreateFunction().
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().
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().
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().
phpthumb_filters::HistogramOverlay | ( | & | $gdimg, |
$bands = '*' , |
|||
$colors = '' , |
|||
$width = 0.25 , |
|||
$height = 0.25 , |
|||
$alignment = 'BR' , |
|||
$opacity = 50 , |
|||
$margin_x = 5 , |
|||
$margin_y = null |
|||
) |
Definition at line 619 of file phpthumb.filters.php.
References HistogramAnalysis(), phpthumb_functions\ImageColorAllocateAlphaSafe(), phpthumb_functions\ImageHexColorAllocate(), phpthumb_functions\IsHexColor(), and WatermarkOverlay().
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().
phpthumb_filters::ImageBorder | ( | & | $gdimg, |
$border_width, | |||
$radius_x, | |||
$radius_y, | |||
$hexcolor_border | |||
) |
Definition at line 669 of file phpthumb.filters.php.
References $i, DebugMessage(), phpthumb_functions\ImageColorAllocateAlphaSafe(), phpthumb_functions\ImageCreateFunction(), phpthumb_functions\ImageHexColorAllocate(), phpthumb_functions\IsHexColor(), and phpthumb_functions\ProportionalResize().
phpthumb_filters::ImageTrueColorToPalette2 | ( | & | $image, |
$dither, | |||
$ncolors | |||
) |
Definition at line 1040 of file phpthumb.filters.php.
References $image.
Referenced by ReduceColorDepth().
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().
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().
phpthumb_filters::Negative | ( | & | $gdimg | ) |
Definition at line 855 of file phpthumb.filters.php.
References DebugMessage(), phpthumb_functions\gd_is_bundled(), phpthumb_functions\GetPixelColor(), phpthumb_functions\ImageColorAllocateAlphaSafe(), and phpthumb_functions\version_compare_replacement().
phpthumb_filters::phpthumb_filters | ( | ) |
Definition at line 15 of file phpthumb.filters.php.
Referenced by ImprovedImageRotate().
phpthumb_filters::ReduceColorDepth | ( | & | $gdimg, |
$colors = 256 , |
|||
$dither = true |
|||
) |
Definition at line 1054 of file phpthumb.filters.php.
References ImageTrueColorToPalette2().
phpthumb_filters::RoundedImageCorners | ( | & | $gdimg, |
$radius_x, | |||
$radius_y | |||
) |
Definition at line 876 of file phpthumb.filters.php.
References ApplyMask(), DebugMessage(), and phpthumb_functions\ImageCreateFunction().
phpthumb_filters::Saturation | ( | & | $gdimg, |
$amount, | |||
$color = '' |
|||
) |
Definition at line 910 of file phpthumb.filters.php.
References Desaturate().
phpthumb_filters::Sepia | ( | & | $gdimg, |
$amount, | |||
$targetColor | |||
) |
Definition at line 922 of file phpthumb.filters.php.
References DebugMessage(), phpthumb_functions\gd_is_bundled(), phpthumb_functions\GetPixelColor(), phpthumb_functions\GrayscalePixel(), phpthumb_functions\ImageColorAllocateAlphaSafe(), phpthumb_functions\IsHexColor(), and phpthumb_functions\version_compare_replacement().
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().
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().
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().
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().
phpthumb_filters::WatermarkText | ( | & | $gdimg, |
$text, | |||
$size, | |||
$alignment, | |||
$hex_color = '000000' , |
|||
$ttffont = '' , |
|||
$opacity = 100 , |
|||
$margin = 5 , |
|||
$angle = 0 , |
|||
$bg_color = false , |
|||
$bg_opacity = 0 , |
|||
$fillextend = '' |
|||
) |
Definition at line 1100 of file phpthumb.filters.php.
References ApplyMask(), DebugMessage(), phpthumb_functions\ImageCreateFunction(), phpthumb_functions\ImageHexColorAllocate(), phpthumb_functions\IsHexColor(), and WatermarkOverlay().
phpthumb_filters::WhiteBalance | ( | & | $gdimg, |
$targetColor = '' |
|||
) |
Definition at line 1063 of file phpthumb.filters.php.
References phpthumb_functions\GetPixelColor(), phpthumb_functions\GrayscaleValue(), HistogramAnalysis(), phpthumb_functions\ImageColorAllocateAlphaSafe(), and phpthumb_functions\IsHexColor().
phpthumb_filters::$phpThumbObject = null |
Definition at line 13 of file phpthumb.filters.php.