- Description
-
Class trees
Index of elements
Todo List
Interfaces
Phpfox_Cache_Interface
Phpfox_Database_Interface
Phpfox_Gateway_Interface
Phpfox_Image_Interface
Phpfox_Mail_Interface
Classes
Database_Driver_Mssql
Database_Driver_Oracle
Database_Driver_Postgres
Database_Driver_Sqlite
Phpfox
Phpfox_Ajax
Phpfox_Api
Phpfox_Archive
Phpfox_Archive_Export
Phpfox_Archive_Extension_Tar
Phpfox_Archive_Extension_Xml
Phpfox_Archive_Extension_Zip
Phpfox_Archive_Import
Phpfox_Archive_Support
Phpfox_Cache
Phpfox_Cache_Abstract
Phpfox_Cache_Storage_File
Phpfox_Cache_Storage_Memcache
Phpfox_Cdn
Phpfox_Cdn_Abstract
Phpfox_Cdn_Module_S3
Phpfox_Component
Phpfox_Cron
Phpfox_Database
Phpfox_Database_Dba
Phpfox_Database_Driver_Mysql
Phpfox_Database_Driver_Mysqli
Phpfox_Database_Export
Phpfox_Database_Support
Phpfox_Date
Phpfox_Debug
Phpfox_Diff_Md5
Phpfox_Editor
Phpfox_Error
Phpfox_File
Phpfox_File_Minimize
Phpfox_Ftp
Phpfox_Gateway
Phpfox_Gateway_Api_2checkout
Phpfox_Gateway_Api_Paypal
Phpfox_Hash
Phpfox_Image
Phpfox_Image_Abstract
Phpfox_Image_Helper
Phpfox_Image_Library_Gd
Phpfox_Locale
Phpfox_Mail
Phpfox_Mail_Driver_Phpmailer_Mail
Phpfox_Mail_Driver_Phpmailer_Smtp
Phpfox_Module
Phpfox_Pager
Phpfox_Parse_Bbcode
Phpfox_Parse_Css
Phpfox_Parse_Format
Phpfox_Parse_Input
Phpfox_Parse_Output
Phpfox_Parse_Wiki
Phpfox_Plugin
Phpfox_Process
Phpfox_Request
Phpfox_Search
Phpfox_Search_Inline
Phpfox_Server
Phpfox_Service
Phpfox_Session
Phpfox_Session_Handler
Phpfox_Session_Handler_Default
Phpfox_Session_Handler_File
Phpfox_Session_Handler_Memcache
Phpfox_Session_Storage_Cookie
Phpfox_Session_Storage_Session
Phpfox_Setting
Phpfox_Spam
Phpfox_Spam_Hash
Phpfox_Template
Phpfox_Url
Phpfox_Validator
Phpfox_Xml_Builder
Phpfox_Xml_Parser
Functions
d
e
p
Files
2checkout.class.php
abstract.class.php
abstract.class.php
abstract.class.php
ajax.class.php
api.class.php
archive.class.php
bbcode.class.php
builder.class.php
cache.class.php
cdn.class.php
component.class.php
cookie.class.php
cron.class.php
css.class.php
database.class.php
date.class.php
dba.class.php
debug.class.php
default.class.php
editor.class.php
error.class.php
export.class.php
export.class.php
file.class.php
file.class.php
file.class.php
format.class.php
ftp.class.php
gateway.class.php
gd.class.php
handler.class.php
hash.class.php
hash.class.php
helper.class.php
image.class.php
import.class.php
inline.class.php
input.class.php
interface.class.php
interface.class.php
interface.class.php
interface.class.php
interface.class.php
locale.class.php
mail.class.php
mail.class.php
md5.class.php
memcache.class.php
memcache.class.php
minimize.class.php
module.class.php
mssql.class.php
mysql.class.php
mysqli.class.php
oracle.class.php
output.class.php
pager.class.php
parser.class.php
paypal.class.php
phpfox.class.php
plugin.class.php
postgres.class.php
process.class.php
request.class.php
s3.class.php
search.class.php
server.class.php
service.class.php
session.class.php
session.class.php
setting.class.php
smtp.class.php
spam.class.php
sqlite.class.php
support.class.php
support.class.php
tar.class.php
template.class.php
url.class.php
validator.class.php
wiki.class.php
xml.class.php
zip.class.php
Template-
Classes
Phpfox_Template_Cache
Files
cache.class.php
Phpfox_Image_Library_Gd
Description
GD Image Layer Class is used to create/manipulate images using GD
Located in /include/library/phpfox/image/library/gd.class.php (line 18)
Phpfox_Image_Abstract | --Phpfox_Image_Library_Gd
Variable Summary
Method Summary
mixed
createThumbnail
(string $sImage, string $sDestination, int $nMaxW, int $nMaxH, [bool $bRatio = true], [bool $bSkipCdn = false])
bool
cropImage
(string $sImage, string $sDestination, int $iWidth, int $iHeight, int $iStartWidth, int $iStartHeight, int $iScale)
Variables
bool
$thumbLargeThenPic
= false (line 25)
Check to identify if a thumnail is larger then the actual image being uploaded
resource
$_hImg
(line 32)
Resource for the image we are creating
Inherited Variables
Inherited from Phpfox_Image_Abstract
Phpfox_Image_Abstract::$_aInfo
Phpfox_Image_Abstract::$_aTypes
Methods
Constructor __construct (line 38)
Class constructor
Phpfox_Image_Library_Gd
__construct
()
Redefinition of:
- Phpfox_Image_Abstract::__construct()
- Class constructor
addMark (line 388)
Adds a image or text watermark depending on the settings provided by admins.
bool
addMark
(string $sImage)
- string $sImage: Full path to the image
addText (line 399)
Adds a watermark text on an image.
bool
addText
(string $sImage)
- string $sImage: Full path to the image
addWatermark (line 487)
Adds an image watermark on an image.
bool
addWatermark
(string $sImage)
- string $sImage: Full path to the image
createThumbnail (line 142)
Create a thumbnail for an image
mixed
createThumbnail
(string $sImage, string $sDestination, int $nMaxW, int $nMaxH, [bool $bRatio = true], [bool $bSkipCdn = false])
- string $sImage: Full path of the original image
- string $sDestination: Full path for the newly created thumbnail
- int $nMaxW: Max width of the thumbnail
- int $nMaxH: Max height of the thumbnail
- bool $bRatio: TRUE to keep the aspect ratio and FALSE to not keep it
- bool $bSkipCdn: Skip the CDN routine
cropImage (line 54)
Crop an image
bool
cropImage
(string $sImage, string $sDestination, int $iWidth, int $iHeight, int $iStartWidth, int $iStartHeight, int $iScale)
- string $sImage: Full path to the image we are working with
- string $sDestination: Full path where the new image will be placed
- int $iWidth: Width of the working image
- int $iHeight: Height of the working image
- int $iStartWidth: Starting point of where we are cropping the image (X)
- int $iStartHeight: Starting point of where we are cropping the image (Y)
- int $iScale: Width/Height of what the image should be scalled to
rotate (line 301)
Rotate an image (left or right)
mixed
rotate
(string $sImage, string $sCmd)
- string $sImage: Full path to the image
- string $sCmd: Command to perform. Must be "left" or "right" (without quotes)
Inherited Methods
Inherited From Phpfox_Image_Abstract
Phpfox_Image_Abstract::__construct()
Phpfox_Image_Abstract::isImage()
Phpfox_Image_Abstract::isImageExtension()
Phpfox_Image_Abstract::_calcSize()
Phpfox_Image_Abstract::_destroy()
Phpfox_Image_Abstract::_hex2rgb()
Phpfox_Image_Abstract::_load()
Documentation generated on Tue, 28 Sep 2010 10:36:40 +0200 by phpDocumentor 1.4.0a2