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

Static Public Member Functions

static ApacheLookupURIarray ($filename)
 
static builtin_function_exists ($functionname)
 
static CaseInsensitiveInArray ($needle, $haystack)
 
static CleanUpURLencoding ($url, $queryseperator='&')
 
static EnsureDirectoryExists ($dirname)
 
static exif_info ()
 
static filedate_remote ($remotefile, $timeout=10)
 
static filesize_remote ($remotefile, $timeout=10)
 
static FunctionIsDisabled ($function)
 
static gd_is_bundled ()
 
static gd_version ($fullstring=false)
 
static GetAllFilesInSubfolders ($dirname)
 
static GetPixelColor (&$img, $x, $y)
 
static GrayscalePixel ($OriginalPixel)
 
static GrayscalePixelRGB ($rgb)
 
static GrayscaleValue ($r, $g, $b)
 
static HexCharDisplay ($string)
 
static HexColorXOR ($hexcolor)
 
static ImageColorAllocateAlphaSafe (&$gdimg_hexcolorallocate, $R, $G, $B, $alpha=false)
 
static ImageCopyResampleBicubic ($dst_img, $src_img, $dst_x, $dst_y, $src_x, $src_y, $dst_w, $dst_h, $src_w, $src_h)
 
static ImageCopyRespectAlpha (&$dst_im, &$src_im, $dst_x, $dst_y, $src_x, $src_y, $src_w, $src_h, $opacity_pct=100)
 
static ImageCreateFunction ($x_size, $y_size)
 
static ImageHexColorAllocate (&$gdimg_hexcolorallocate, $HexColorString, $dieOnInvalid=false, $alpha=false)
 
static ImageTypeToMIMEtype ($imagetype)
 
static IsHexColor ($HexColorString)
 
static LittleEndian2String ($number, $minbytes=1)
 
static md5_file_safe ($filename)
 
static nonempty_min ()
 
static OneOfThese ()
 
static ParseURLbetter ($url)
 
static phpinfo_array ()
 
static PixelColorDifferencePercent ($currentPixel, $targetPixel)
 
static ProportionalResize ($old_width, $old_height, $new_width=false, $new_height=false)
 
static SafeExec ($command)
 
static SafeURLread ($url, &$error, $timeout=10, $followredirects=true)
 
static SanitizeFilename ($filename)
 
static ScaleToFitInBox ($width, $height, $maxwidth=null, $maxheight=null, $allow_enlarge=true, $allow_reduce=true)
 
static TranslateWHbyAngle ($width, $height, $angle)
 
static URLreadFsock ($host, $file, &$errstr, $successonly=true, $port=80, $timeout=10)
 
static user_function_exists ($functionname)
 
static version_compare_replacement ($version1, $version2, $operator='')
 
static version_compare_replacement_sub ($version1, $version2, $operator='')
 

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.functions.php.

Member Function Documentation

static phpthumb_functions::ApacheLookupURIarray (   $filename)
static

Definition at line 484 of file phpthumb.functions.php.

Referenced by phpthumb\phpThumbDebug(), and phpthumb\ResolveFilenameToAbsolute().

Here is the caller graph for this function:

static phpthumb_functions::builtin_function_exists (   $functionname)
static

Definition at line 25 of file phpthumb.functions.php.

Referenced by phpthumb\phpThumbDebug().

Here is the caller graph for this function:

static phpthumb_functions::CaseInsensitiveInArray (   $needle,
  $haystack 
)
static

Definition at line 619 of file phpthumb.functions.php.

Referenced by phpthumb\setOutputFormat().

Here is the caller graph for this function:

static phpthumb_functions::CleanUpURLencoding (   $url,
  $queryseperator = '&' 
)
static

Definition at line 682 of file phpthumb.functions.php.

References $queries, $query, $url, and ParseURLbetter().

Here is the call graph for this function:

static phpthumb_functions::EnsureDirectoryExists (   $dirname)
static

Definition at line 821 of file phpthumb.functions.php.

References $dirname, $i, and DIRECTORY_SEPARATOR.

static phpthumb_functions::exif_info ( )
static

Definition at line 138 of file phpthumb.functions.php.

References phpinfo_array().

Referenced by phpthumb\phpThumbDebug().

Here is the call graph for this function:

Here is the caller graph for this function:

static phpthumb_functions::filedate_remote (   $remotefile,
  $timeout = 10 
)
static

Definition at line 548 of file phpthumb.functions.php.

References $date, $url, ParseURLbetter(), and version_compare_replacement().

Referenced by phpthumb\SetCacheFilename().

Here is the call graph for this function:

Here is the caller graph for this function:

static phpthumb_functions::filesize_remote (   $remotefile,
  $timeout = 10 
)
static

Definition at line 527 of file phpthumb.functions.php.

References $url, ParseURLbetter(), and version_compare_replacement().

Here is the call graph for this function:

static phpthumb_functions::FunctionIsDisabled (   $function)
static
static phpthumb_functions::GetAllFilesInSubfolders (   $dirname)
static

Definition at line 854 of file phpthumb.functions.php.

References $dirname, and $file.

Referenced by phpthumb\CleanUpCacheDirectory().

Here is the caller graph for this function:

static phpthumb_functions::GrayscalePixel (   $OriginalPixel)
static

Definition at line 274 of file phpthumb.functions.php.

References GrayscaleValue().

Referenced by phpthumb_filters\ApplyMask(), phpthumb_filters\Colorize(), phpthumb_filters\HistogramAnalysis(), phpthumb_filters\Sepia(), and phpthumb_filters\Threshold().

Here is the call graph for this function:

Here is the caller graph for this function:

static phpthumb_functions::GrayscalePixelRGB (   $rgb)
static

Definition at line 280 of file phpthumb.functions.php.

static phpthumb_functions::GrayscaleValue (   $r,
  $g,
  $b 
)
static

Definition at line 269 of file phpthumb.functions.php.

Referenced by GrayscalePixel(), and phpthumb_filters\WhiteBalance().

Here is the caller graph for this function:

static phpthumb_functions::HexCharDisplay (   $string)
static

Definition at line 208 of file phpthumb.functions.php.

References $i.

Referenced by phpthumb\ImageCreateFromStringReplacement(), phpthumb\setSourceData(), and phpthumb\SourceImageToGD().

Here is the caller graph for this function:

static phpthumb_functions::HexColorXOR (   $hexcolor)
static

Definition at line 248 of file phpthumb.functions.php.

static phpthumb_functions::ImageColorAllocateAlphaSafe ( $gdimg_hexcolorallocate,
  $R,
  $G,
  $B,
  $alpha = false 
)
static
static phpthumb_functions::ImageCopyResampleBicubic (   $dst_img,
  $src_img,
  $dst_x,
  $dst_y,
  $src_x,
  $src_y,
  $dst_w,
  $dst_h,
  $src_w,
  $src_h 
)
static

Definition at line 309 of file phpthumb.functions.php.

Referenced by phpthumb\ImageResizeFunction().

Here is the caller graph for this function:

static phpthumb_functions::ImageCopyRespectAlpha ( $dst_im,
$src_im,
  $dst_x,
  $dst_y,
  $src_x,
  $src_y,
  $src_w,
  $src_h,
  $opacity_pct = 100 
)
static

Definition at line 376 of file phpthumb.functions.php.

References GetPixelColor(), and ImageColorAllocateAlphaSafe().

Referenced by phpthumb_filters\WatermarkOverlay().

Here is the call graph for this function:

Here is the caller graph for this function:

static phpthumb_functions::ImageHexColorAllocate ( $gdimg_hexcolorallocate,
  $HexColorString,
  $dieOnInvalid = false,
  $alpha = false 
)
static
static phpthumb_functions::ImageTypeToMIMEtype (   $imagetype)
static

Definition at line 164 of file phpthumb.functions.php.

Referenced by phpthumb\OutputThumbnail(), and RedirectToCachedFile().

Here is the caller graph for this function:

static phpthumb_functions::LittleEndian2String (   $number,
  $minbytes = 1 
)
static

Definition at line 599 of file phpthumb.functions.php.

Referenced by phpthumb_bmp\GD2BMPstring(), and phpthumb_ico\GD2ICOstring().

Here is the caller graph for this function:

static phpthumb_functions::md5_file_safe (   $filename)
static

Definition at line 569 of file phpthumb.functions.php.

Referenced by phpthumb\SourceImageToGD().

Here is the caller graph for this function:

static phpthumb_functions::nonempty_min ( )
static

Definition at line 587 of file phpthumb.functions.php.

Referenced by phpthumb\CalculateThumbnailDimensions(), and phpthumb\ImageMagickThumbnailToGD().

Here is the caller graph for this function:

static phpthumb_functions::OneOfThese ( )
static

Definition at line 608 of file phpthumb.functions.php.

Referenced by phpthumb\SetOrientationDependantWidthHeight().

Here is the caller graph for this function:

static phpthumb_functions::ParseURLbetter (   $url)
static

Definition at line 720 of file phpthumb.functions.php.

References $url.

Referenced by phpthumb\AntiOffsiteLinking(), CleanUpURLencoding(), filedate_remote(), filesize_remote(), RedirectToCachedFile(), SafeURLread(), and phpthumb\SetCacheFilename().

Here is the caller graph for this function:

static phpthumb_functions::phpinfo_array ( )
static

Definition at line 125 of file phpthumb.functions.php.

Referenced by exif_info().

Here is the caller graph for this function:

static phpthumb_functions::PixelColorDifferencePercent (   $currentPixel,
  $targetPixel 
)
static

Definition at line 261 of file phpthumb.functions.php.

Referenced by phpthumb_filters\SourceTransparentColorMask().

Here is the caller graph for this function:

static phpthumb_functions::ProportionalResize (   $old_width,
  $old_height,
  $new_width = false,
  $new_height = false 
)
static

Definition at line 400 of file phpthumb.functions.php.

Referenced by phpthumb_filters\ImageBorder().

Here is the caller graph for this function:

static phpthumb_functions::SafeExec (   $command)
static
static phpthumb_functions::SafeURLread (   $url,
$error,
  $timeout = 10,
  $followredirects = true 
)
static

Definition at line 738 of file phpthumb.functions.php.

References $error, $url, FunctionIsDisabled(), ParseURLbetter(), and URLreadFsock().

Here is the call graph for this function:

static phpthumb_functions::SanitizeFilename (   $filename)
static

Definition at line 887 of file phpthumb.functions.php.

References version_compare_replacement().

Referenced by phpthumb\OutputThumbnail(), and SendSaveAsFileHeaderIfNeeded().

Here is the call graph for this function:

Here is the caller graph for this function:

static phpthumb_functions::ScaleToFitInBox (   $width,
  $height,
  $maxwidth = null,
  $maxheight = null,
  $allow_enlarge = true,
  $allow_reduce = true 
)
static

Definition at line 288 of file phpthumb.functions.php.

Referenced by phpthumb\ApplyFilters().

Here is the caller graph for this function:

static phpthumb_functions::TranslateWHbyAngle (   $width,
  $height,
  $angle 
)
static

Definition at line 199 of file phpthumb.functions.php.

Referenced by phpthumb\ImageMagickThumbnailToGD().

Here is the caller graph for this function:

static phpthumb_functions::URLreadFsock (   $host,
  $file,
$errstr,
  $successonly = true,
  $port = 80,
  $timeout = 10 
)
static

Definition at line 631 of file phpthumb.functions.php.

References FunctionIsDisabled().

Referenced by SafeURLread().

Here is the call graph for this function:

Here is the caller graph for this function:

static phpthumb_functions::user_function_exists (   $functionname)
static

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

static phpthumb_functions::version_compare_replacement_sub (   $version1,
  $version2,
  $operator = '' 
)
static

Definition at line 37 of file phpthumb.functions.php.

Referenced by version_compare_replacement().

Here is the caller graph for this function:


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