Update v1.0.6
7
vendor/autoload.php
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
// autoload.php @generated by Composer
|
||||
|
||||
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInit1bacc9bd2a82216bf11bc15e6aee6c79::getLoader();
|
78
vendor/bestmomo/filemanager/README.md
vendored
Normal file
@@ -0,0 +1,78 @@
|
||||
## Filemanager ##
|
||||
|
||||
This package is to add [simogeo/Filemanager](https://github.com/simogeo/Filemanager) to Laravel 5.1 installation.
|
||||
|
||||
### Installation ###
|
||||
|
||||
Add Filemanager to your composer.json file to require Filemanager :
|
||||
```
|
||||
require : {
|
||||
"laravel/framework": "5.1.*",
|
||||
"bestmomo/filemanager": "1.1.*"
|
||||
}
|
||||
```
|
||||
|
||||
Update Composer :
|
||||
```
|
||||
composer update
|
||||
```
|
||||
|
||||
The next required step is to add the service provider to config/app.php :
|
||||
```
|
||||
Bestmomo\Filemanager\FilemanagerServiceProvider::class,
|
||||
```
|
||||
|
||||
### Publish ###
|
||||
|
||||
The last required step is to publish assets in your application with :
|
||||
```
|
||||
php artisan vendor:publish
|
||||
```
|
||||
|
||||
### User model ###
|
||||
|
||||
For Filemanager php connector you must create at least this function in user model :
|
||||
|
||||
```
|
||||
public function accessMediasAll()
|
||||
{
|
||||
// return true for access to all medias
|
||||
}
|
||||
```
|
||||
|
||||
If you want some users access only to one folder add this function :
|
||||
|
||||
```
|
||||
public function accessMediasFolder()
|
||||
{
|
||||
// return true for access to one folder
|
||||
}
|
||||
```
|
||||
A folder with user{id} name will be created in filemanager/userfiles folder.
|
||||
|
||||
### Integration ###
|
||||
|
||||
You can now integrate Filemanager with any editor.
|
||||
|
||||
Simple example integration with CKEditor :
|
||||
```
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CKEditor</title>
|
||||
<script src="//cdn.ckeditor.com/4.5.3/standard/ckeditor.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<textarea name="editor"></textarea>
|
||||
<script>
|
||||
CKEDITOR.replace( 'editor', {
|
||||
filebrowserBrowseUrl: '{!! url('filemanager/index.html') !!}'
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
```
|
||||
|
||||
|
||||
|
27
vendor/bestmomo/filemanager/composer.json
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"name": "bestmomo/filemanager",
|
||||
"description": "To add filemanager to Laravel 5.1",
|
||||
"homepage": "http://github.com/bestmomo/filemanager",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
{
|
||||
"name":"Simon Georget",
|
||||
"email":"simon@linea21.com",
|
||||
"homepage":"http://www.empreinte-urbaine.eu",
|
||||
"role": "Developer"
|
||||
},
|
||||
{
|
||||
"name": "Bestmomo",
|
||||
"email": "grandheretique@free.fr",
|
||||
"homepage":"http://laravel.sillo.org"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": ">=5.5.9"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Bestmomo\\Filemanager\\": "src/"
|
||||
}
|
||||
}
|
||||
}
|
6
vendor/bestmomo/filemanager/config/filemanager.php
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// needs to be set in filemanager.config.js too
|
||||
'folder_path' => "filemanager/userfiles/"
|
||||
];
|
479
vendor/bestmomo/filemanager/public/filemanager/ReadMe.md
vendored
Normal file
@@ -0,0 +1,479 @@
|
||||
Filemanager
|
||||
========================
|
||||
|
||||
FM is an open-source file manager released under MIT license. It is an alternative to elfinder or CKFinder.
|
||||
|
||||
Support
|
||||
-------
|
||||
|
||||
Filemanager is under free license. If you want to support the filemanager development or just thank its main maintainer by paying a beer, you can make a donation by clicking the following button :
|
||||
[](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=2M5GWH9NLNEZL)
|
||||
|
||||
|
||||
|
||||
Main features
|
||||
-------------
|
||||
|
||||
* A Filemanager relying on jquery.
|
||||
* Available in more than 20 languages.
|
||||
* [Highly customizable](https://github.com/simogeo/Filemanager/wiki/Filemanager-configuration-file)
|
||||
* Can work as standalone application
|
||||
* Easy integration with RTE like CKEditor, TinyMCE and so on.
|
||||
* Easy integration with [colorbox jquery plugin](https://github.com/simogeo/Filemanager/wiki/How-to-use-the-filemanager-with-colorbox-%3F) or [HTML simple textfield](https://github.com/simogeo/Filemanager/wiki/How-to-use-the-filemanager-from-a-simple-textfield-%3F)
|
||||
* Several computer language connectors available. **PHP is up-to-date**
|
||||
* Ability to upload, delete, modify, download and move files
|
||||
* Ability to create folders
|
||||
* Support user permissions - based on session
|
||||
* Handle system permissions
|
||||
* Ability to pass config user file in URL
|
||||
* Multiple uploads support - based on [dropzonejs](http://www.dropzonejs.com)
|
||||
* Online text / code edition - based on [codeMirror](http://codemirror.net/)
|
||||
* Online documents viewer - based on [viewerJS](http://viewerjs.org/)
|
||||
* [Opening a given folder](https://github.com/simogeo/Filemanager/wiki/How-to-open-a-given-folder-different-from-root-folder-when-opening-the-filemanager%3F)
|
||||
* [Opening exclusively a given folder](https://github.com/simogeo/Filemanager/wiki/How-to-open-%28exclusively%29-a-given-subfolder-%3F)
|
||||
* [Passing parameters to the FM](https://github.com/simogeo/Filemanager/wiki/Passing-parameters-to-the-FM)
|
||||
* [File types restriction](https://github.com/simogeo/Filemanager/wiki/Set-up-upload-restriction-on-file-type)
|
||||
* Video and audio player relying on web browser capabilities
|
||||
* Textbox Search filter
|
||||
* Thumbnails generation
|
||||
* Image auto-resize
|
||||
* File size limit
|
||||
* File exclusion based on name and patterns
|
||||
* Images files only
|
||||
* Prevent files overwriting (or not)
|
||||
* Switch from list to grid view and vice-versa
|
||||
* Copy direct file URL
|
||||
* [CSS Themes](https://github.com/simogeo/Filemanager/wiki/Create-your-own-theme) - **Please, share your themes with others !**
|
||||
* and more ...
|
||||
|
||||
|
||||
Screenshot
|
||||
-------------
|
||||
|
||||

|
||||
|
||||
|
||||
Documentation
|
||||
-------------
|
||||
|
||||
Filemanager is highly documented on the [wiki pages](https://github.com/simogeo/Filemanager/wiki). API, see below.
|
||||
|
||||
|
||||
Installation and Setup
|
||||
----------------------
|
||||
|
||||
**Preamble**
|
||||
|
||||
Since many changes have been done recently, only PHP and MVC connectors are now available. You can try the latest version for others connectors, but with no warranty they implement all features and work correctly.
|
||||
|
||||
To use other connectors, please download v0.8 version from https://github.com/simogeo/Filemanager/archive/v0.8.zip
|
||||
(PHP, ASHX, ASP, CFM, lasso, PL and JSP connectors are available)
|
||||
|
||||
A JSP/Java connector implementation is available at : https://github.com/th-schwarz/C5Connector.Java
|
||||
|
||||
---
|
||||
|
||||
**(1)** Check out a copy of the FileManager from the repository using Git :
|
||||
|
||||
git clone http://github.com/simogeo/Filemanager.git
|
||||
|
||||
or download the archive from Github : https://github.com/simogeo/Filemanager/archive/master.zip
|
||||
|
||||
You can place the FileManager anywhere within your web serving root directory.
|
||||
|
||||
**(2)** Make a copy of the default configuration file ("filemanager.config.js.default" located in the scripts directory), removing the '.default' from the end of the filename, and edit the options according to the following wiki page : https://github.com/simogeo/Filemanager/wiki/Filemanager-configuration-file
|
||||
Having a look on configuration cases study may also be helpful to you : https://github.com/simogeo/Filemanager/wiki/Specify-user-folder%2C-configuration-cases
|
||||
|
||||
**(3a)** If you are integrating the FileManager with FCKEditor, open your fckconfig.js file and find the lines which specify what file browser to use for images, links, etc. Look toward the bottom of the file. You will need to change lines such as this:
|
||||
|
||||
```javascript
|
||||
FCKConfig.ImageBrowser = false ;
|
||||
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=../../connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ;
|
||||
```
|
||||
|
||||
...to this:
|
||||
|
||||
```javascript
|
||||
FCKConfig.ImageBrowser = true ;
|
||||
FCKConfig.ImageBrowserURL = '[Path to Filemanager]/index.html' ;
|
||||
```
|
||||
|
||||
**(3b)** If you are integrating the FileManager with CKEditor 3.x or higher, simply set the URL when you configure your instance, like so:
|
||||
|
||||
```javascript
|
||||
CKEDITOR.replace('instancename', {
|
||||
filebrowserBrowseUrl: '[Path to Filemanager]/index.html',
|
||||
...other configuration options...
|
||||
});
|
||||
```
|
||||
|
||||
If you want to use the **modal dialog mode** (instead of pop-up), please refer to [the dedicated wiki page](https://github.com/simogeo/Filemanager/wiki/How-to-open-the-Filemanager-from-CKEditor-in-a-modal-window-%3F).
|
||||
|
||||
**(3c)** If you are integrating the FileManager with TinyMCE (>= 3.0), you should:
|
||||
|
||||
Create a Javascript callback function that will open the FileManager index.html base page (see URL below for examples)
|
||||
Add a line like: "file_browser_callback : 'name_of_callback_function'" in the tinyMCE.init command
|
||||
See http://www.tinymce.com/wiki.php/TinyMCE3x:How-to_implement_a_custom_file_browser for more details.
|
||||
|
||||
See also the dedicated wiki page, with TinyMCE 4 sample : https://github.com/simogeo/Filemanager/wiki/How-to-use-the-Filemanager-with-tinyMCE--3-or-4-%3F
|
||||
|
||||
|
||||
**(4)** Last but not least, **worry about security**!
|
||||
|
||||
For **PHP connector** : copy/paste the `/connectors/php/default.config.php` to `/connectors/php/user.config.php` to define your own authentication function.
|
||||
To do so, you will find an example on the [dedicated wiki page](https://github.com/simogeo/Filemanager/wiki/Security-concern).
|
||||
|
||||
**jQuery dependency and compatibility**
|
||||
|
||||
We try to keep updating jQuery core library regularly.
|
||||
If, for any reason, you can't use the embedded jQuery version just now that the Filemanager will probably work with a jQuery version >= 1.6.
|
||||
You'll have to use the [jQuery.migrate() plugin](https://github.com/jquery/jquery-migrate) to use it with jQuery version 1.9+.
|
||||
|
||||
|
||||
Set-up & security
|
||||
-----------------
|
||||
|
||||
**Important** : The Filemanager is designed to work without any special configuration but **using it without any configuration is VERY unsafe**.
|
||||
Please set-up your own **authentication function**, based on [default file](https://github.com/simogeo/Filemanager/blob/master/connectors/php/default.config.php) and refering to the [dedicated wiki page](https://github.com/simogeo/Filemanager/wiki/Security-concern).
|
||||
|
||||
|
||||
API
|
||||
---
|
||||
|
||||
|
||||
Connector Location
|
||||
------------------
|
||||
You can create a connector for your server side language of choice by following this simple API. You must have a script at the following location which can respond to HTTP GET requests by returning an appropriate JSON object:
|
||||
|
||||
[path to FileManager]/connectors/[language extension]/filemanager.[language extension]
|
||||
|
||||
FileManager currently includes connectors for PHP, MVC, JSP, lasso, ASP, ASHX, PL and CFM in the following locations:
|
||||
|
||||
PHP: .../connectors/php/filemanager.php
|
||||
ASP.NET MVC Framework .../connectors/mvc/FilemanagerController.cs
|
||||
JSP: .../connectors/jsp/filemanager.jsp
|
||||
lasso: .../connectors/lasso/filemanager.lasso
|
||||
ASP: .../connectors/asp/filemanager.asp
|
||||
ASHX: .../connectors/ashx/filemanager.asp
|
||||
PL: .../connectors/pl/filemanager.pl
|
||||
CFM: .../connectors/cfm/filemanager.cfm
|
||||
|
||||
As long as a script exists at this location to respond to requests, you may split up the code (external libraries, configuration files, etc.) however you see fit.
|
||||
|
||||
|
||||
Error Handling
|
||||
--------------
|
||||
Every response should include two keys specific to error handling: Error, and Code. If an error occurs in your script, you may populate these keys with whatever values you feel are most appropriate. If there is no error, Error should remain empty or null, and Code should be empty, null, or zero (0). Do not use zero for any actual errors. The following example would be an appropriate response if the connector uses an external file for configuration (recommended), but that file cannot be found:
|
||||
|
||||
{
|
||||
"Error": "Configuration file missing.",
|
||||
"Code": -1
|
||||
}
|
||||
|
||||
|
||||
Methods
|
||||
-------
|
||||
Your script should include support for the following methods/functions. GET requests from FileManager include a parameter "mode" which will indicate which type of response to return. Additional parameters will provide other information required to fulfill the request, such as the current directory.
|
||||
|
||||
getinfo
|
||||
-------
|
||||
The `getinfo` method returns information about a single file. Requests with mode "getinfo" will include an additional parameter, "path", indicating which file to inspect. A boolean parameter "getsize" indicates whether the dimensions of the file (if an image) should be returned.
|
||||
|
||||
Example Request:
|
||||
|
||||
[path to connector]?mode=getinfo&path=/UserFiles/Image/logo.png&getsize=true
|
||||
|
||||
Example Response:
|
||||
|
||||
{
|
||||
"Path": "/UserFiles/Image/logo.png",
|
||||
"Filename": "logo.png",
|
||||
"File Type": "png",
|
||||
"Preview": "/UserFiles/Image/logo.png",
|
||||
"Protected": 0,
|
||||
"Properties": {
|
||||
"Date Created": null,
|
||||
"Date Modified": "02/09/2007 14:01:06",
|
||||
"filemtime": 1360237058,
|
||||
"Height": 14,
|
||||
"Width": 14,
|
||||
"Size": 384
|
||||
},
|
||||
"Error": "",
|
||||
"Code": 0
|
||||
}
|
||||
|
||||
The keys are as follows:
|
||||
|
||||
Path: The path to the file. Should match what was passed in the request.
|
||||
|
||||
Filename: The name of the file, i.e., the last part of the path.
|
||||
|
||||
File Type: The file extension, "dir" if a directory, or "txt" if missing/unknown.
|
||||
|
||||
Preview: Path to a preview image. If the file is an image that can be displayed in a web browser (i.e., gif, jpg, or png), you should return the path to the image. Otherwise, check to see if there is a matching file icon based on the file extension, constructing the path like so:
|
||||
|
||||
Directories: images/fileicons/_Open.png
|
||||
Files: images/fileicons/[extension].png
|
||||
Unknown: images/fileicons/default.png
|
||||
|
||||
Protected: Indicates if the file has some reading / writing restrictions. If not, set to 0. Else set to 1.
|
||||
|
||||
Properties: A nested JSON object containing specific properties of the file.
|
||||
|
||||
Date Created: The file's creation date, if available.
|
||||
Date Modified: The file's modification date, if available.
|
||||
Height: If an image, the height in pixels.
|
||||
Width: If an image, the width in pixels.
|
||||
Size: The file size in bytes.
|
||||
|
||||
Capabilities (optional): You can limit the operation buttons shown for a specific file. It is an array containing ['select','delete','rename','download'] (for all capabilities), or [] (for no capabilities). If not present, all capabilities are enabled.
|
||||
|
||||
Error: An error message, or empty/null if there was no error.
|
||||
|
||||
Code: An error code, or 0 if there was no error.
|
||||
|
||||
|
||||
getfolder
|
||||
---------
|
||||
The `getfolder` method returns an array of file and folder objects representing the contents of the given directory (indicated by a "path" parameter). It should call the getinfo method to retrieve the properties of each file. A boolean parameter "getsizes" indicates whether image dimensions should be returned for each item. Folders should always be returned before files.
|
||||
Optionally a "type" parameter can be specified to restrict returned files (depending on the connector). If a "type" parameter is given for the main index.html URL, the same parameter value is reused and passed to getfolder. This can be used for example to only show image files in a file system tree.
|
||||
|
||||
Example Request:
|
||||
|
||||
[path to connector]?mode=getfolder&path=/UserFiles/Image/&getsizes=true&type=images
|
||||
|
||||
Example Response:
|
||||
|
||||
{
|
||||
"/UserFiles/Image/logo.png": {
|
||||
"Path": "/UserFiles/Image/logo.png",
|
||||
"Filename": "logo.png",
|
||||
"File Type": "png",
|
||||
"Preview": "/UserFiles/Image/logo.png",
|
||||
"Protected": 0,
|
||||
"Properties": {
|
||||
"Date Created": null,
|
||||
"Date Modified": "02/09/2007 14:01:06",
|
||||
"filemtime": 1360237058,
|
||||
"Height": 14,
|
||||
"Width": 14,
|
||||
"Size": 384
|
||||
},
|
||||
"Error": "",
|
||||
"Code": 0
|
||||
},
|
||||
"/UserFiles/Image/icon.png": {
|
||||
"Path": "/UserFiles/Image/icon.png",
|
||||
"Filename": "icon.png",
|
||||
"File Type": "png",
|
||||
"Preview": "/UserFiles/Image/icon.png",
|
||||
"Properties": {
|
||||
"Date Created": null,
|
||||
"Date Modified": "02/09/2007 14:01:06",
|
||||
"filemtime": 1360237058,
|
||||
"Height": 14,
|
||||
"Width": 14,
|
||||
"Size": 384
|
||||
},
|
||||
"Error": "",
|
||||
"Code": 0
|
||||
},
|
||||
"/UserFiles/folder/":{
|
||||
"Path":"/UserFiles/folder/",
|
||||
"Filename":"folder",
|
||||
"File Type":"dir",
|
||||
"Preview":"images\/fileicons\/_Open.png",
|
||||
"Properties": {
|
||||
"Date Created":null,
|
||||
"Date Modified": "02/09/2007 14:01:06",
|
||||
"filemtime": 1360237058,
|
||||
"Height":null,
|
||||
"Width":null,
|
||||
"Size":null
|
||||
},
|
||||
"Error":"",
|
||||
"Code":0
|
||||
}
|
||||
}
|
||||
|
||||
Each key in the array is the path to an individual item, and the value is the file object for that item.
|
||||
|
||||
|
||||
rename
|
||||
------
|
||||
The `rename` method renames the item at the path given in the "old" parameter with the name given in the "new" parameter and returns an object indicating the results of that action.
|
||||
|
||||
Example Request:
|
||||
|
||||
[path to connector]?mode=rename&old=/UserFiles/Image/logo.png&new=id.png
|
||||
|
||||
Example Response:
|
||||
|
||||
{
|
||||
"Error": "No error",
|
||||
"Code": 0,
|
||||
"Old Path": "/a_folder_renamed/thisisareallylongincrediblylongfilenamefortesting.txt",
|
||||
"Old Name": "thisisareallylongincrediblylongfilenamefortesting.txt",
|
||||
"New Path": "/a_folder_renamed/a_renamed_file",
|
||||
"New Name": "a_renamed_file"
|
||||
}
|
||||
|
||||
move
|
||||
------
|
||||
The `move` method move "old" file or directory to specified "new" directory. It is possible to specify absolute path from fileRoot dir or relative path from "old" item. "root" value is mandatory to secure that relative paths don't get above fileRoot.
|
||||
|
||||
Example Request: Move file
|
||||
|
||||
[path to connector]?mode=move&old=/uploads/images/original/Image/logo.png&new=/moved/&root=/uploads/images/
|
||||
|
||||
Example Response:
|
||||
|
||||
{
|
||||
"Error": "No error",
|
||||
"Code": 0,
|
||||
"Old Path": "/uploads/images/original/Image/",
|
||||
"Old Name": "logo.png",
|
||||
"New Path": "/uploads/images/moved/",
|
||||
"New Name": "logo.png"
|
||||
}
|
||||
|
||||
Example Request: Move directory to not existing directory (will be created)
|
||||
|
||||
[path to connector]?mode=move&old=/uploads/images/original/Image&new=../new_dir/&root=/uploads/images/
|
||||
|
||||
Example Response:
|
||||
|
||||
{
|
||||
"Error": "No error",
|
||||
"Code": 0,
|
||||
"Old Path": "/uploads/images/original/",
|
||||
"Old Name": "Image",
|
||||
"New Path": "/uploads/new_dir/",
|
||||
"New Name": "Image"
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
delete
|
||||
------
|
||||
The `delete` method deletes the item at the given path.
|
||||
|
||||
Example Request:
|
||||
|
||||
[path to connector]?mode=delete&path=/UserFiles/Image/logo.png
|
||||
|
||||
Example Response:
|
||||
|
||||
{
|
||||
"Error": "No error",
|
||||
"Code": 0,
|
||||
"Path": "/UserFiles/Image/logo.png"
|
||||
}
|
||||
|
||||
|
||||
add
|
||||
---
|
||||
The `add` method adds the uploaded file to the specified path. Unlike the other methods, this method must return its JSON response wrapped in an HTML <textarea>, so the MIME type of the response is text/html instead of text/plain. The upload form in the File Manager passes the current path as a POST param along with the uploaded file. The response includes the path as well as the name used to store the file. The uploaded file's name should be safe to use as a path component in a URL, so URL-encoded at a minimum.
|
||||
|
||||
Example Response:
|
||||
|
||||
{
|
||||
"Path": "/UserFiles/Image/",
|
||||
"Name": "new_logo.png",
|
||||
"Error": "No error",
|
||||
"Code": 0
|
||||
}
|
||||
|
||||
replace
|
||||
---
|
||||
The `replace` method allow the user to replace a specific file whatever the new filename - at least, the new file should have the same extension the original has. The old file is automatically overwritten. Unlike the other methods, this method must return its JSON response wrapped in an HTML <textarea>, so the MIME type of the response is text/html instead of text/plain. The *dynamic* upload form in the File Manager passes the current file path as a POST param along with the uploaded file. The response includes the path as well as the name used to store the file.
|
||||
|
||||
Example Response:
|
||||
|
||||
{
|
||||
"Path": "/UserFiles/Image/",
|
||||
"Name": "new_logo.png",
|
||||
"Error": "No error",
|
||||
"Code": 0
|
||||
}
|
||||
|
||||
editfile
|
||||
--------
|
||||
The `editfile` method returns the content of a given file (passed as parameter). It gives the user the ability to edit a file online (extensions are specified in configuration file). Handled as GET request.
|
||||
|
||||
Example request:
|
||||
|
||||
[path to connector]?mode=editfile&path=/UserFiles/MyFolder/myfile.txt
|
||||
|
||||
Example Response:
|
||||
|
||||
{
|
||||
"Error": "No error",
|
||||
"Code": 0,
|
||||
"Path": "/UserFiles/MyFolder/myfile.txt",
|
||||
"Content": "Content":"Lorem ipsum dolor sit amet, consectetur adipiscing elit.\r\n\Phasellus eu erat lorem.\r\n\r\n\Bye!"
|
||||
}
|
||||
|
||||
savefile
|
||||
--------
|
||||
The `save` method will overwrite the content of the current file. The edit form in the File Manager passes the mode (as `savefile`), path of the current file and the content as POST parameters.
|
||||
|
||||
Example Response:
|
||||
|
||||
{
|
||||
"Error": "No error",
|
||||
"Code": 0,
|
||||
"Path": "/UserFiles/MyFolder/myfile.txt"
|
||||
}
|
||||
|
||||
preview
|
||||
--------
|
||||
The `preview` method serves the requested image for displaying. The image path is passed through the `path` parameter. If `thumbnail=true` parameter is passed, the method will return an image thumbnail. An extra parameter such as UNIX time can be added to the URL to prevent cache issue.
|
||||
|
||||
Example Request:
|
||||
|
||||
[path to connector]?mode=preview&path=/UserFiles/new%20logo.png&thumbnail=true
|
||||
|
||||
|
||||
addfolder
|
||||
---------
|
||||
The `addfolder` method creates a new directory on the server within the given path.
|
||||
|
||||
Example Request:
|
||||
|
||||
[path to connector]?mode=addfolder&path=/UserFiles/&name=new%20logo.png
|
||||
|
||||
Example Response:
|
||||
|
||||
{
|
||||
"Parent": "/UserFiles/",
|
||||
"Name": "new_logo.png",
|
||||
"Error": "No error",
|
||||
"Code": 0
|
||||
}
|
||||
|
||||
|
||||
download
|
||||
--------
|
||||
The `download` method serves the requested file to the user. We currently use a MIME type of "application/x-download" to force the file to be downloaded rather than displayed in a browser. In the future we may make exceptions for specific file types that often have in-browser viewers such as PDF's and various movie formats (Flash, Quicktime, etc.).
|
||||
|
||||
Example Request:
|
||||
|
||||
[path to connector]?mode=download&path=/UserFiles/new%20logo.png
|
||||
|
||||
|
||||
MIT LICENSE
|
||||
---
|
||||
|
||||
Copyright (c) 2011-2013 Jason Huck, Simon Georget
|
||||
http://opensource.org/licenses/MIT
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
|
11
vendor/bestmomo/filemanager/public/filemanager/bower.json
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "Filemanager",
|
||||
"repo": "simogeo/Filemanager",
|
||||
"description": "An open-source file manager released under MIT license. Up-to-date for PHP and MVC connector.",
|
||||
"keywords": ["file", "upload", "dms", "document", "management", "system"],
|
||||
"dependencies": {},
|
||||
"development": {},
|
||||
"main": [
|
||||
"index.html"
|
||||
]
|
||||
}
|
87
vendor/bestmomo/filemanager/public/filemanager/changelog
vendored
Normal file
@@ -0,0 +1,87 @@
|
||||
From version 2.2.0 to 2.3.0
|
||||
---------------------------
|
||||
- PDF viewer added | #377 & #319
|
||||
- fix is_valid_path bug when fileRoot is defined | #393
|
||||
- adding https protocol for external resources | #395
|
||||
- array_replace_recursive function implementation for php 5.2 compatibility | #396
|
||||
- ASHX connector, fixing test bug | #399
|
||||
- security fix related to WideImage lib | #405
|
||||
- filemanager.ashx update | #409
|
||||
- fix uploadRestrictions bug | #398
|
||||
- ability to do not cache thumbnails | #417
|
||||
- encode folder name when adding | #420
|
||||
- ability to set panels size | #423
|
||||
- ability to pass configuration file in url | #255
|
||||
- ability to make Text editor fullscreen (by pressing F11) | #422
|
||||
|
||||
|
||||
From version 2.1.0 to 2.2.0
|
||||
---------------------------
|
||||
- handle symlinks | #332
|
||||
- bug fix : prevent "flickering" on image resize with custom-scrollbar | #334
|
||||
- make relPath and connector setFileRoot() work together | #339
|
||||
- relPath renamed baseUrl | #340
|
||||
- adding .jpe extension support | #341
|
||||
- update jquery | #345
|
||||
- remove unused option maxuploadfilesize | #346
|
||||
- set logfile path according to system if not set into config file | #353
|
||||
- fix bug when using baseUrl without calling setFileRoot() | #354
|
||||
- fix important security issue | #356
|
||||
|
||||
From version 2.0.0 to 2.1.0
|
||||
---------------------------
|
||||
- Detect syntax error in config file | #294
|
||||
- "Upload" button localized | #295
|
||||
- Adding loading screen | #298
|
||||
- Adding version number | #292
|
||||
- Adding navigation to Parent Directory | #315
|
||||
- Better handling of non readable / non writable files and folders, depending on system permissions | #307, #308, #309
|
||||
- Fixing bug with custom scrollbar on Google Chrome | #299
|
||||
- Fixing bug when renaming file/folder with dynamic fileroot, using setFileRoot() | #297
|
||||
- Fixing bug on 'upload' button when multiple-uploads option is enabled, on chrome. Should also work better with IE | #304
|
||||
- Fixing bug is_valid_path() on WAMP | #306
|
||||
- Fixing bug on filetree scrollbar | #302
|
||||
- Fixing bug on clicking Home button | #320
|
||||
- Fixing bug on allowed files test | #331
|
||||
|
||||
From version 1.8.0 to 2.0.0
|
||||
---------------------------
|
||||
- Adding multiple files upload, based on dropzone.js | #177, #185, #41
|
||||
- Fixing bugs after 'Rename' action | #283, #284
|
||||
- Adding logo | #285
|
||||
- Adding folder infos | #287
|
||||
- Adding help message on 'Move' action
|
||||
- Code optimization
|
||||
|
||||
|
||||
From version 1.7.0 to 1.8.0
|
||||
---------------------------
|
||||
- Adding Bosnian transalation | #281
|
||||
- Security enhanced | #282 and much more
|
||||
- Removing ability to move file to parent path using '../' syntax
|
||||
- Ability to zip and download folder | #100
|
||||
|
||||
|
||||
From version 1.6.0 to 1.7.0
|
||||
---------------------------
|
||||
- Add timer when logger is enabled #278
|
||||
- Let user tweak scrollbar if wanted. See config.customScrollbar options | #279
|
||||
- Add new themes : 'flat-dark' (as default), 'flat-turquoise', 'flat-oil'
|
||||
|
||||
|
||||
From version 1.5.0 to 1.6.0
|
||||
---------------------------
|
||||
- Add ability to define your own CSS theme | #277
|
||||
|
||||
|
||||
From version 1.4.0 to 1.5.0
|
||||
---------------------------
|
||||
- Add ability to copy direct file URL | #276
|
||||
|
||||
|
||||
From version 1.3.0 to 1.4.0
|
||||
---------------------------
|
||||
- Modal dialog available for CKEditor | #205
|
||||
- Security : checking for permissions before executing actions | #251
|
||||
- Removing regex modifiers in config file to ease other languages portability
|
||||
- Supporting extension changes ('rename' action) | #247, #249
|
22
vendor/bestmomo/filemanager/public/filemanager/composer.json
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"name":"simogeo/filemanager",
|
||||
"description":"An open-source file manager",
|
||||
"type":"project",
|
||||
"keywords":[
|
||||
"filemanager",
|
||||
"files",
|
||||
"images"
|
||||
],
|
||||
"license": "MIT",
|
||||
"authors":[
|
||||
{
|
||||
"name":"Simon Georget",
|
||||
"email":"simon@linea21.com",
|
||||
"homepage":"http://www.empreinte-urbaine.eu",
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"require":{
|
||||
"php":">= 5.2.0"
|
||||
}
|
||||
}
|
88
vendor/bestmomo/filemanager/public/filemanager/connectors/php/default.config.php
vendored
Normal file
@@ -0,0 +1,88 @@
|
||||
<?php
|
||||
/**
|
||||
* Filemanager PHP connector
|
||||
* This file should at least declare auth() function
|
||||
* and instantiate the Filemanager as '$fm'
|
||||
*
|
||||
* IMPORTANT : by default Read and Write access is granted to everyone
|
||||
* Copy/paste this file to 'user.config.php' file to implement your own auth() function
|
||||
* to grant access to wanted users only
|
||||
*
|
||||
* filemanager.php
|
||||
* use for ckeditor filemanager
|
||||
*
|
||||
* @license MIT License
|
||||
* @author Simon Georget <simon (at) linea21 (dot) com>
|
||||
* @copyright Authors
|
||||
*/
|
||||
|
||||
// Laravel init
|
||||
require getcwd() . '/../../../../bootstrap/autoload.php';
|
||||
$app = require_once getcwd() . '/../../../../bootstrap/app.php';
|
||||
|
||||
$kernel = $app->make('Illuminate\Contracts\Http\Kernel');
|
||||
|
||||
$response = $kernel->handle(
|
||||
$request = Illuminate\Http\Request::capture()
|
||||
);
|
||||
|
||||
$id = $app['encrypter']->decrypt($_COOKIE[$app['config']['session.cookie']]);
|
||||
$app['session']->driver()->setId($id);
|
||||
$app['session']->driver()->start();
|
||||
|
||||
// Folder path
|
||||
$folderPath = $app->basePath() . '/public/'.config('filemanager.folder_path');
|
||||
|
||||
// Check if user in authentified
|
||||
if(!$app['auth']->check())
|
||||
{
|
||||
$laravelAuth = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Check if user has all access
|
||||
if($app['auth']->user()->accessMediasAll())
|
||||
{
|
||||
$laravelAuth = true;
|
||||
}
|
||||
elseif(method_exists($app['auth']->user(), 'accessMediasFolder'))
|
||||
{
|
||||
// Check if user has access to one folder
|
||||
if($app['auth']->user()->accessMediasFolder())
|
||||
{
|
||||
// Folder name with user id
|
||||
$folderPath .= 'user' . $app['auth']->id();
|
||||
// Create folder if doesn't exist
|
||||
if (!is_dir($folderPath))
|
||||
{
|
||||
mkdir($folderPath);
|
||||
}
|
||||
$laravelAuth = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
$laravelAuth = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$laravelAuth = false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if user is authorized
|
||||
*
|
||||
*
|
||||
* @return boolean true if access granted, false if no access
|
||||
*/
|
||||
function auth()
|
||||
{
|
||||
return $GLOBALS['laravelAuth'];
|
||||
}
|
||||
|
||||
$fm = new Filemanager();
|
||||
|
||||
$fm->setFileRoot($folderPath);
|
||||
|
||||
?>
|
1533
vendor/bestmomo/filemanager/public/filemanager/connectors/php/filemanager.class.php
vendored
Normal file
182
vendor/bestmomo/filemanager/public/filemanager/connectors/php/filemanager.php
vendored
Normal file
@@ -0,0 +1,182 @@
|
||||
<?php
|
||||
// only for debug
|
||||
// error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);
|
||||
// ini_set('display_errors', '1');
|
||||
/**
|
||||
* Filemanager PHP connector
|
||||
*
|
||||
* filemanager.php
|
||||
* use for ckeditor filemanager plug-in by Core Five - http://labs.corefive.com/Projects/FileManager/
|
||||
*
|
||||
* @license MIT License
|
||||
* @author Riaan Los <mail (at) riaanlos (dot) nl>
|
||||
* @author Simon Georget <simon (at) linea21 (dot) com>
|
||||
* @copyright Authors
|
||||
*/
|
||||
|
||||
require_once('filemanager.class.php');
|
||||
|
||||
// for php 5.2 compatibility
|
||||
if (!function_exists('array_replace_recursive')) {
|
||||
function array_replace_recursive($array, $array1) {
|
||||
function recurse($array, $array1) {
|
||||
foreach($array1 as $key => $value) {
|
||||
// create new key in $array, if it is empty or not an array
|
||||
if (!isset($array[$key]) || (isset($array[$key]) && !is_array($array[$key]))) {
|
||||
$array[$key] = array();
|
||||
}
|
||||
|
||||
// overwrite the value in the base array
|
||||
if (is_array($value)) {
|
||||
$value = recurse($array[$key], $value);
|
||||
}
|
||||
$array[$key] = $value;
|
||||
}
|
||||
return $array;
|
||||
}
|
||||
|
||||
// handle the arguments, merge one by one
|
||||
$args = func_get_args();
|
||||
$array = $args[0];
|
||||
if (!is_array($array)) {
|
||||
return $array;
|
||||
}
|
||||
for ($i = 1; $i < count($args); $i++) {
|
||||
if (is_array($args[$i])) {
|
||||
$array = recurse($array, $args[$i]);
|
||||
}
|
||||
}
|
||||
return $array;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// if user file is defined we include it, else we include the default file
|
||||
(file_exists('user.config.php')) ? include_once('user.config.php') : include_once('default.config.php');
|
||||
|
||||
// auth() function is already defined
|
||||
// and Filemanager is instantiated as $fm
|
||||
|
||||
$response = '';
|
||||
|
||||
if(!auth()) {
|
||||
$fm->error($fm->lang('AUTHORIZATION_REQUIRED'));
|
||||
}
|
||||
|
||||
if(!isset($_GET)) {
|
||||
$fm->error($fm->lang('INVALID_ACTION'));
|
||||
} else {
|
||||
|
||||
if(isset($_GET['mode']) && $_GET['mode']!='') {
|
||||
|
||||
switch($_GET['mode']) {
|
||||
|
||||
default:
|
||||
|
||||
$fm->error($fm->lang('MODE_ERROR'));
|
||||
break;
|
||||
|
||||
case 'getinfo':
|
||||
|
||||
if($fm->getvar('path')) {
|
||||
$response = $fm->getinfo();
|
||||
}
|
||||
break;
|
||||
|
||||
case 'getfolder':
|
||||
|
||||
if($fm->getvar('path')) {
|
||||
$response = $fm->getfolder();
|
||||
}
|
||||
break;
|
||||
|
||||
case 'rename':
|
||||
|
||||
if($fm->getvar('old') && $fm->getvar('new')) {
|
||||
$response = $fm->rename();
|
||||
}
|
||||
break;
|
||||
|
||||
case 'move':
|
||||
// allow "../"
|
||||
if($fm->getvar('old') && $fm->getvar('new') && $fm->getvar('root')) {
|
||||
$response = $fm->move();
|
||||
}
|
||||
break;
|
||||
|
||||
case 'editfile':
|
||||
|
||||
if($fm->getvar('path')) {
|
||||
$response = $fm->editfile();
|
||||
}
|
||||
break;
|
||||
|
||||
case 'delete':
|
||||
|
||||
if($fm->getvar('path')) {
|
||||
$response = $fm->delete();
|
||||
}
|
||||
break;
|
||||
|
||||
case 'addfolder':
|
||||
|
||||
if($fm->getvar('path') && $fm->getvar('name')) {
|
||||
$response = $fm->addfolder();
|
||||
}
|
||||
break;
|
||||
|
||||
case 'download':
|
||||
if($fm->getvar('path')) {
|
||||
$fm->download();
|
||||
}
|
||||
break;
|
||||
|
||||
case 'preview':
|
||||
if($fm->getvar('path')) {
|
||||
if(isset($_GET['thumbnail'])) {
|
||||
$thumbnail = true;
|
||||
} else {
|
||||
$thumbnail = false;
|
||||
}
|
||||
$fm->preview($thumbnail);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
} else if(isset($_POST['mode']) && $_POST['mode']!='') {
|
||||
|
||||
switch($_POST['mode']) {
|
||||
|
||||
default:
|
||||
|
||||
$fm->error($fm->lang('MODE_ERROR'));
|
||||
break;
|
||||
|
||||
case 'add':
|
||||
|
||||
if($fm->postvar('currentpath')) {
|
||||
$fm->add();
|
||||
}
|
||||
break;
|
||||
|
||||
case 'replace':
|
||||
|
||||
if($fm->postvar('newfilepath')) {
|
||||
$fm->replace();
|
||||
}
|
||||
break;
|
||||
|
||||
case 'savefile':
|
||||
|
||||
if($fm->postvar('content', false) && $fm->postvar('path')) {
|
||||
$response = $fm->savefile();
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
echo json_encode($response);
|
||||
die();
|
||||
?>
|
16
vendor/bestmomo/filemanager/public/filemanager/connectors/php/inc/wideimage/LICENSE
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
WideImage, a PHP image manipulation library
|
||||
Copyright 2007-2011 Gasper Kozak
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public License
|
||||
as published by the Free Software Foundation; either version 2.1
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
21
vendor/bestmomo/filemanager/public/filemanager/connectors/php/inc/wideimage/README
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
WideImage, a PHP image manipulation library
|
||||
Copyright 2007-2011 Gasper Kozak
|
||||
|
||||
For documentation, please visit http://wideimage.sourceforge.net/
|
||||
|
||||
|
||||
This file is part of WideImage.
|
||||
|
||||
WideImage is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published by
|
||||
the Free Software Foundation; either version 2.1 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
WideImage is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with WideImage; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
2
vendor/bestmomo/filemanager/public/filemanager/connectors/php/inc/wideimage/VERSION
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
Version: 11.02.19
|
||||
Build date: 2011-02-19
|
BIN
vendor/bestmomo/filemanager/public/filemanager/connectors/php/inc/wideimage/demo/bg.gif
vendored
Normal file
After Width: | Height: | Size: 48 B |
66
vendor/bestmomo/filemanager/public/filemanager/connectors/php/inc/wideimage/demo/demo_screen.php
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
?>
|
||||
<form style="font-family: Verdana, Tahoma; font-size: 11px">
|
||||
<input type="hidden" name="demo" value="<?php echo $activeDemo->name; ?>" />
|
||||
<div style="background-color: #f0f0f0; padding: 5px;">
|
||||
<input type="submit" value="refresh" />
|
||||
<?php
|
||||
foreach ($activeDemo->fields as $field)
|
||||
$field->render();
|
||||
?>
|
||||
<br />
|
||||
<span style="font-family: Verdana, Tahoma; font-size: 11px">
|
||||
Read the <a href="../doc/WideImage/WideImage_Image.html#method<?php echo $activeDemo->name; ?>">API documentation</a> for this operation.
|
||||
</span>
|
||||
|
||||
<div style="background-color: #d0d0d0; padding: 5px; text-align: right; float: right; width: 300px;">
|
||||
<?php
|
||||
$top_form['output']->render();
|
||||
echo "<br />\n";
|
||||
echo ' Palette options (only for <em>png8</em> and <em>gif</em> output):<br />';
|
||||
$top_form['ncolors']->render();
|
||||
echo "<br />\n";
|
||||
$top_form['dither']->render();
|
||||
$top_form['match_palette']->render();
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<?php
|
||||
$activeDemo->text();
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
$images_in_row = 2;
|
||||
$in_row = 0;
|
||||
$images = array();
|
||||
$di = new DirectoryIterator(dirname(__FILE__) . '/images/');
|
||||
foreach ($di as $file)
|
||||
if (!$file->isDot() && strpos($file->getFilename(), '.') !== 0)
|
||||
$images[] = $file->getFilename();
|
||||
|
||||
asort($images);
|
||||
foreach ($images as $image_file)
|
||||
{
|
||||
echo '<div class="images">';
|
||||
echo '<img src="images/' . $image_file . '" />';
|
||||
$img_url = 'image.php?image=' . $image_file . '&output=' . $top_form['output']->value .
|
||||
'&colors=' . $top_form['ncolors']->value . '&dither=' . $top_form['dither']->value .
|
||||
'&match_palette=' . $top_form['match_palette']->value . '&demo=' . $activeDemo->name;
|
||||
foreach ($activeDemo->fields as $field)
|
||||
$img_url .= '&' . $field->getURLValue();
|
||||
|
||||
echo ' ';
|
||||
echo '<a href="' . $img_url . '">';
|
||||
echo '<img src="' . $img_url . '" />';
|
||||
echo '</a>';
|
||||
echo "</div>\n";
|
||||
}
|
||||
?>
|
||||
<div style="clear: both"></div>
|
||||
|
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
class Demo_addNoise extends Demo
|
||||
{
|
||||
public $order = 9350;
|
||||
|
||||
function init()
|
||||
{
|
||||
$this->addField(new IntField('amount', 300));
|
||||
$this->addField(new SelectField('type', array('salt&pepper','mono','color'), 'mono'));
|
||||
}
|
||||
|
||||
function execute($image, $request)
|
||||
{
|
||||
return $image->addNoise($this->fields['amount']->value, $this->fields['type']->value);
|
||||
}
|
||||
}
|
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
class Demo_applyConvolution extends Demo
|
||||
{
|
||||
public $order = 2025;
|
||||
|
||||
protected $base_matrix = array(array(2, 0, 0), array(0, -1, 0), array(0, 0, -1));
|
||||
|
||||
function init()
|
||||
{
|
||||
$this->addField(new Field('matrix', '2 0 0, 0 -1 0, 0 0 -1', '3x3 float matrix; separate rows with a comma, and columns with a space'));
|
||||
$this->addField(new FloatField('div', 1));
|
||||
$this->addField(new FloatField('offset', 220));
|
||||
}
|
||||
|
||||
function execute($image, $request)
|
||||
{
|
||||
$mstr = $this->fval('matrix');
|
||||
$rows = explode(',', $mstr);
|
||||
|
||||
$matrix = array();
|
||||
foreach ($this->base_matrix as $idx => $base_row)
|
||||
{
|
||||
$build_row = array();
|
||||
if (isset($rows[$idx]))
|
||||
{
|
||||
$row = trim($rows[$idx]);
|
||||
$cols = explode(' ', $row);
|
||||
for ($c = 0; $c < 3; $c++)
|
||||
if (isset($cols[$c]))
|
||||
$build_row[] = floatval(trim($cols[$c]));
|
||||
else
|
||||
$build_row[] = $base_row[$c];
|
||||
}
|
||||
else
|
||||
$build_row = $base_row;
|
||||
|
||||
$matrix[] = $build_row;
|
||||
}
|
||||
|
||||
return $image->applyConvolution($matrix, $this->fval('div'), $this->fval('offset'));
|
||||
}
|
||||
}
|
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
class Demo_applyFilter extends Demo
|
||||
{
|
||||
public $order = 2000;
|
||||
|
||||
function init()
|
||||
{
|
||||
$this->addField(new SelectField('filter', array(
|
||||
'IMG_FILTER_NEGATE',
|
||||
'IMG_FILTER_GRAYSCALE',
|
||||
'IMG_FILTER_BRIGHTNESS',
|
||||
'IMG_FILTER_CONTRAST',
|
||||
'IMG_FILTER_COLORIZE',
|
||||
'IMG_FILTER_EDGEDETECT',
|
||||
'IMG_FILTER_EMBOSS',
|
||||
'IMG_FILTER_GAUSSIAN_BLUR',
|
||||
'IMG_FILTER_SELECTIVE_BLUR',
|
||||
'IMG_FILTER_MEAN_REMOVAL',
|
||||
'IMG_FILTER_SMOOTH'
|
||||
))
|
||||
);
|
||||
$this->addField(new IntField('arg1', null));
|
||||
$this->addField(new IntField('arg2', null));
|
||||
$this->addField(new IntField('arg3', null));
|
||||
}
|
||||
|
||||
function execute($image)
|
||||
{
|
||||
$filter = constant($this->fields['filter']->value);
|
||||
$arg1 = $this->fields['arg1']->value;
|
||||
$arg2 = $this->fields['arg2']->value;
|
||||
$arg3 = $this->fields['arg3']->value;
|
||||
|
||||
return $image->applyFilter($filter, $arg1, $arg2, $arg3);
|
||||
}
|
||||
}
|
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
class Demo_applyMask extends Demo
|
||||
{
|
||||
public $order = 600;
|
||||
|
||||
function init()
|
||||
{
|
||||
$this->addField(new FileSelectField('mask', 'masks'));
|
||||
$this->addField(new CoordinateField('left', 10));
|
||||
$this->addField(new CoordinateField('top', '30%'));
|
||||
|
||||
if (!$this->request->get('mask'))
|
||||
$this->request->set('mask', 'mask-circle.gif');
|
||||
}
|
||||
|
||||
function execute($image)
|
||||
{
|
||||
$mask = WideImage::load(DEMO_PATH . 'masks/' . $this->fields['mask']->value);
|
||||
$left = $this->fields['left']->value;
|
||||
$top = $this->fields['top']->value;
|
||||
|
||||
return $image->applyMask($mask, $left, $top);
|
||||
}
|
||||
|
||||
function getFormat()
|
||||
{
|
||||
return 'png';
|
||||
}
|
||||
}
|
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
class Demo_asGrayscale extends Demo
|
||||
{
|
||||
public $order = 300;
|
||||
|
||||
function execute($img, $request)
|
||||
{
|
||||
return $img->asGrayscale();
|
||||
}
|
||||
}
|
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
class Demo_asNegative extends Demo
|
||||
{
|
||||
public $order = 300;
|
||||
|
||||
function execute($img, $request)
|
||||
{
|
||||
return $img->asNegative();
|
||||
}
|
||||
}
|
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
class Demo_autoCrop extends Demo
|
||||
{
|
||||
public $order = 1050;
|
||||
|
||||
function init()
|
||||
{
|
||||
$this->addField(new IntField('margin', 0));
|
||||
$this->addField(new IntField('rgb_threshold', 0));
|
||||
$this->addField(new IntField('pixel_cutoff', 1));
|
||||
$this->addField(new IntField('base_color', null, 'Index of the color'));
|
||||
}
|
||||
|
||||
function execute($image, $request)
|
||||
{
|
||||
$margin = $this->fields['margin']->value;
|
||||
$rgb_threshold = $this->fields['rgb_threshold']->value;
|
||||
$pixel_cutoff = $this->fields['pixel_cutoff']->value;
|
||||
$base_color = $this->fields['base_color']->value;
|
||||
|
||||
return $image->autoCrop($margin, $rgb_threshold, $pixel_cutoff, $base_color);
|
||||
}
|
||||
}
|
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
class Demo_correctGamma extends Demo
|
||||
{
|
||||
public $order = 2050;
|
||||
|
||||
function init()
|
||||
{
|
||||
$this->addField(new FloatField('in_gamma', 1.1));
|
||||
$this->addField(new FloatField('out_gamma', 3.7));
|
||||
}
|
||||
|
||||
function execute($image, $request)
|
||||
{
|
||||
return $image->correctGamma($this->fval('in_gamma'), $this->fval('out_gamma'));
|
||||
}
|
||||
}
|
26
vendor/bestmomo/filemanager/public/filemanager/connectors/php/inc/wideimage/demo/demos/crop.php
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
class Demo_crop extends Demo
|
||||
{
|
||||
public $order = 1000;
|
||||
|
||||
function init()
|
||||
{
|
||||
$this->addField(new CoordinateField('left', 10));
|
||||
$this->addField(new CoordinateField('top', 20));
|
||||
$this->addField(new CoordinateField('width', 120));
|
||||
$this->addField(new CoordinateField('height', 60));
|
||||
}
|
||||
|
||||
function execute($image, $request)
|
||||
{
|
||||
$left = $this->fields['left']->value;
|
||||
$top = $this->fields['top']->value;
|
||||
$width = $this->fields['width']->value;
|
||||
$height = $this->fields['height']->value;
|
||||
|
||||
return $image->crop($left, $top, $width, $height);
|
||||
}
|
||||
}
|
13
vendor/bestmomo/filemanager/public/filemanager/connectors/php/inc/wideimage/demo/demos/flip.php
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
class Demo_flip extends Demo
|
||||
{
|
||||
public $order = 1200;
|
||||
|
||||
function execute($image, $request)
|
||||
{
|
||||
return $image->flip();
|
||||
}
|
||||
}
|
@@ -0,0 +1,63 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
class Demo_getCanvas extends Demo
|
||||
{
|
||||
public $order = 1300;
|
||||
|
||||
function init()
|
||||
{
|
||||
$this->addField(new Field('text', 'Hello world!'));
|
||||
$this->addField(new CoordinateField('x', 'middle'));
|
||||
$this->addField(new CoordinateField('y', 'bottom-5'));
|
||||
$this->addField(new IntField('angle', 5));
|
||||
$this->addField(new FileSelectField('font', 'fonts', array('show' => false, 'pattern' => '/(.*)\.ttf$/', 'default' => 'VeraSe.ttf')));
|
||||
$this->addField(new IntField('size', 18));
|
||||
}
|
||||
|
||||
function execute($image, $request)
|
||||
{
|
||||
$text = $this->fields['text']->value;
|
||||
$x = $this->fields['x']->value;
|
||||
$y = $this->fields['y']->value;
|
||||
$angle = $this->fields['angle']->value;
|
||||
$font = $this->fields['font']->value;
|
||||
$font_size = $this->fields['size']->value;
|
||||
|
||||
$canvas = $image->getCanvas();
|
||||
|
||||
$canvas->filledRectangle(10, 10, 80, 40, $image->allocateColor(255, 127, 255));
|
||||
$canvas->line(60, 80, 30, 100, $image->allocateColor(255, 0, 0));
|
||||
|
||||
$font_file = DEMO_PATH . 'fonts/' . $font;
|
||||
|
||||
$canvas->useFont($font_file, $font_size, $image->allocateColor(0, 0, 0));
|
||||
$canvas->writeText("$x+1", "$y+1", $text, $angle);
|
||||
|
||||
$canvas->useFont($font_file, $font_size, $image->allocateColor(200, 220, 255));
|
||||
$canvas->writeText($x, $y, $text, $angle);
|
||||
|
||||
return $image;
|
||||
}
|
||||
|
||||
function et($name)
|
||||
{
|
||||
return htmlentities($this->fval($name));
|
||||
}
|
||||
|
||||
function text()
|
||||
{
|
||||
echo "This demo executes:
|
||||
<pre>
|
||||
\$canvas->filledRectangle(10, 10, 80, 40, \$img->allocateColor(255, 127, 255));
|
||||
\$canvas->line(60, 80, 30, 100, \$img->allocateColor(255, 0, 0));
|
||||
|
||||
\$canvas->useFont('{$this->et('font')}', '{$this->et('size')}', \$image->allocateColor(0, 0, 0));
|
||||
\$canvas->writeText('{$this->et('x')}+1', '{$this->et('y')}+1', '{$this->et('text')}', {$this->et('angle')});
|
||||
|
||||
\$canvas->useFont('{$this->et('font')}', '{$this->et('size')}', \$image->allocateColor(200, 220, 255));
|
||||
\$canvas->writeText('{$this->et('x')}', '{$this->et('y')}', '{$this->et('text')}', {$this->et('angle')});
|
||||
</pre>";
|
||||
}
|
||||
}
|
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
class Demo_getChannels extends Demo
|
||||
{
|
||||
public $order = 500;
|
||||
|
||||
protected $channels = array('red', 'green', 'blue', 'alpha');
|
||||
|
||||
function init()
|
||||
{
|
||||
$this->addField(new CheckboxField('red', true));
|
||||
$this->addField(new CheckboxField('green', false));
|
||||
$this->addField(new CheckboxField('blue', true));
|
||||
$this->addField(new CheckboxField('alpha', false));
|
||||
}
|
||||
|
||||
function execute($img, $request)
|
||||
{
|
||||
$on = array();
|
||||
foreach ($this->channels as $name)
|
||||
if ($this->fields[$name]->value)
|
||||
$on[] = $name;
|
||||
|
||||
return $img->getChannels($on);
|
||||
}
|
||||
}
|
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
class Demo_getMask extends Demo
|
||||
{
|
||||
public $order = 550;
|
||||
|
||||
function execute($img, $request)
|
||||
{
|
||||
return $img->getMask();
|
||||
}
|
||||
}
|
31
vendor/bestmomo/filemanager/public/filemanager/connectors/php/inc/wideimage/demo/demos/merge.php
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
class Demo_merge extends Demo
|
||||
{
|
||||
public $order = 800;
|
||||
|
||||
function init()
|
||||
{
|
||||
$this->addField(new FileSelectField('overlay', 'images', array('default' => '6-logo.gif')));
|
||||
$this->addField(new CoordinateField('left', 'right-10'));
|
||||
$this->addField(new CoordinateField('top', 'bottom-15%'));
|
||||
$this->addField(new IntField('opacity', 50));
|
||||
}
|
||||
|
||||
function execute($image, $request)
|
||||
{
|
||||
$overlay = WideImage::load(DEMO_PATH . 'images/' . $this->fields['overlay']->value);
|
||||
$left = $this->fields['left']->value;
|
||||
$top = $this->fields['top']->value;
|
||||
$opacity = $this->fields['opacity']->value;
|
||||
|
||||
return $image->merge($overlay, $left, $top, $opacity);
|
||||
}
|
||||
|
||||
function text()
|
||||
{
|
||||
echo "For alpha images, set opacity=100, otherwise alpha channel won't work.";
|
||||
}
|
||||
}
|
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
class Demo_mirror extends Demo
|
||||
{
|
||||
public $order = 1150;
|
||||
|
||||
function execute($image, $request)
|
||||
{
|
||||
return $image->mirror();
|
||||
}
|
||||
}
|
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
class Demo_resize extends Demo
|
||||
{
|
||||
public $order = 900;
|
||||
|
||||
function init()
|
||||
{
|
||||
$this->addField(new CoordinateField('width', 120));
|
||||
$this->addField(new CoordinateField('height', null));
|
||||
$this->addField(new SelectField('fit', array('inside', 'fill', 'outside')));
|
||||
$this->addField(new SelectField('scale', array('any', 'down', 'up')));
|
||||
}
|
||||
|
||||
function execute($image, $request)
|
||||
{
|
||||
$width = $this->fields['width']->value;
|
||||
$height = $this->fields['height']->value;
|
||||
$fit = $this->fields['fit']->value;
|
||||
$scale = $this->fields['scale']->value;
|
||||
|
||||
return $image->resize($width, $height, $fit, $scale);
|
||||
}
|
||||
}
|
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
class Demo_resizeCanvas extends Demo
|
||||
{
|
||||
public $order = 910;
|
||||
|
||||
function init()
|
||||
{
|
||||
$this->addField(new CoordinateField('width', '100%+30'));
|
||||
$this->addField(new CoordinateField('height', 200));
|
||||
$this->addField(new CoordinateField('left', '2'));
|
||||
$this->addField(new CoordinateField('top', 'bottom-10'));
|
||||
$this->addField(new ColorField('color', 'ffffff'));
|
||||
$this->addField(new SelectField('scale', array('any', 'down', 'up'), 'any'));
|
||||
$this->addField(new CheckboxField('merge', false, "Merge or copy over"));
|
||||
}
|
||||
|
||||
function execute($image, $request)
|
||||
{
|
||||
$width = $this->fields['width']->value;
|
||||
$height = $this->fields['height']->value;
|
||||
$left = $this->fields['left']->value;
|
||||
$top = $this->fields['top']->value;
|
||||
$color = $this->fields['color']->value;
|
||||
$scale = $this->fields['scale']->value;
|
||||
$merge = $this->fields['merge']->value;
|
||||
|
||||
return $image->resizeCanvas($width, $height, $left, $top, $color ? hexdec($color) : null, $scale, $merge);
|
||||
}
|
||||
}
|
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
class Demo_rotate extends Demo
|
||||
{
|
||||
public $order = 1100;
|
||||
|
||||
function init()
|
||||
{
|
||||
$this->addField(new AngleField('angle', 25));
|
||||
$this->addField(new ColorField('color', ''));
|
||||
}
|
||||
|
||||
function execute($image, $request)
|
||||
{
|
||||
$angle = $this->fields['angle']->value;
|
||||
$color = $this->fields['color']->value;
|
||||
|
||||
return $image->rotate($angle, $color ? hexdec($color) : null);
|
||||
}
|
||||
}
|
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
class Demo_roundCorners extends Demo
|
||||
{
|
||||
public $order = 1075;
|
||||
|
||||
function init()
|
||||
{
|
||||
$this->addField(new IntField('radius', 30));
|
||||
$this->addField(new ColorField('color', 'ffffff'));
|
||||
$this->addField(new IntField('smoothness', 2));
|
||||
|
||||
$this->addField(new CheckboxField('top-left', true));
|
||||
$this->addField(new CheckboxField('top-right', true));
|
||||
$this->addField(new CheckboxField('bottom-right', true));
|
||||
$this->addField(new CheckboxField('bottom-left', true));
|
||||
}
|
||||
|
||||
function execute($image, $request)
|
||||
{
|
||||
$color = $this->fields['color']->value;
|
||||
$radius = $this->fields['radius']->value;
|
||||
$smoothness = $this->fields['smoothness']->value;
|
||||
|
||||
$corners = 0;
|
||||
if ($this->fval('top-left'))
|
||||
$corners += WideImage::SIDE_TOP_LEFT;
|
||||
|
||||
if ($this->fval('top-right'))
|
||||
$corners += WideImage::SIDE_TOP_RIGHT;
|
||||
|
||||
if ($this->fval('bottom-right'))
|
||||
$corners += WideImage::SIDE_BOTTOM_RIGHT;
|
||||
|
||||
if ($this->fval('bottom-left'))
|
||||
$corners += WideImage::SIDE_BOTTOM_LEFT;
|
||||
|
||||
return $image->roundCorners($radius, $color ? hexdec($color) : null, $smoothness, $corners);
|
||||
}
|
||||
}
|
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
class Demo_unsharp extends Demo
|
||||
{
|
||||
public $order = 1350;
|
||||
|
||||
function init()
|
||||
{
|
||||
$this->addField(new IntField('amount', 300));
|
||||
$this->addField(new IntField('radius', 3));
|
||||
$this->addField(new IntField('threshold', 2));
|
||||
}
|
||||
|
||||
function execute($image, $request)
|
||||
{
|
||||
return $image->unsharp($this->fields['amount']->value, $this->fields['radius']->value, $this->fields['threshold']->value);
|
||||
}
|
||||
}
|
99
vendor/bestmomo/filemanager/public/filemanager/connectors/php/inc/wideimage/demo/font.php
vendored
Normal file
@@ -0,0 +1,99 @@
|
||||
<?php
|
||||
include('../lib/WideImage.php');
|
||||
|
||||
$img = WideImage::createTrueColorImage(400, 200);
|
||||
$canvas = $img->getCanvas();
|
||||
$canvas->useFont('fonts/Vera.ttf', 36, $img->allocateColor(255, 0, 0));
|
||||
$canvas->writeText('left', 'top', 'abc', 0);
|
||||
$canvas->writeText('right', 'top', 'def', 15);
|
||||
$canvas->writeText('right', 'bottom', 'ghi', 30);
|
||||
$canvas->writeText('left', 'bottom', 'jkl', 45);
|
||||
$canvas->writeText('center', 'center', 'mno', 60);
|
||||
$img->output('png');
|
||||
exit;
|
||||
|
||||
// Create a 300x150 image
|
||||
$im = imagecreatetruecolor(600, 350);
|
||||
$black = imagecolorallocate($im, 0, 0, 0);
|
||||
$bgcolor = imagecolorallocate($im, 255, 255, 0);
|
||||
|
||||
// Set the background to be white
|
||||
imagefilledrectangle($im, 0, 0, imagesx($im), imagesy($im), $bgcolor);
|
||||
|
||||
// Path to our font file
|
||||
$font = './fonts/Vera.ttf';
|
||||
|
||||
$angle = 340;
|
||||
$font_size = 20;
|
||||
$text = 'jW| asdkasdlk alk,.,wedwer|w[r=?';
|
||||
$text = '#j';
|
||||
|
||||
// First we create our bounding box
|
||||
$bbox = imageftbbox($font_size, $angle, $font, $text);
|
||||
|
||||
|
||||
function normalize_bbox($bbox)
|
||||
{
|
||||
return array(
|
||||
'up-left' => array('x' => $bbox[6], 'y' => $bbox[7]),
|
||||
'up-right' => array('x' => $bbox[4], 'y' => $bbox[5]),
|
||||
'down-left' => array('x' => $bbox[0], 'y' => $bbox[1]),
|
||||
'down-right' => array('x' => $bbox[2], 'y' => $bbox[3]),
|
||||
);
|
||||
}
|
||||
|
||||
function outer_box($box)
|
||||
{
|
||||
return array(
|
||||
'left' => min($box['up-left']['x'], $box['up-right']['x'], $box['down-left']['x'], $box['down-right']['x']),
|
||||
'top' => min($box['up-left']['y'], $box['up-right']['y'], $box['down-left']['y'], $box['down-right']['y']),
|
||||
'right' => max($box['up-left']['x'], $box['up-right']['x'], $box['down-left']['x'], $box['down-right']['x']),
|
||||
'bottom' => max($box['up-left']['y'], $box['up-right']['y'], $box['down-left']['y'], $box['down-right']['y'])
|
||||
);
|
||||
}
|
||||
|
||||
$box = normalize_bbox($bbox);
|
||||
|
||||
// This is our cordinates for X and Y
|
||||
#$x = $bbox[0] + (imagesx($im) / 2) - ($bbox[4] / 2) - 5;
|
||||
#$y = $bbox[1] + (imagesy($im) / 2) - ($bbox[5] / 2) - 5;
|
||||
#$x = 300;
|
||||
#$y = 175;
|
||||
|
||||
$obox = outer_box(normalize_bbox(imageftbbox($font_size, $angle, $font, '')));
|
||||
$obox = outer_box(normalize_bbox(imageftbbox($font_size, $angle, $font, $text)));
|
||||
|
||||
#$x = imagesx($im) - $obox['right'] - 1;
|
||||
#$y = imagesy($im) - $obox['bottom'] - 1;
|
||||
$x = 0;
|
||||
$y = 0;
|
||||
|
||||
$gc = imagecolorallocate($im, 255, 200, 200);
|
||||
imageline($im, imagesx($im) / 2, 0, imagesx($im) / 2, imagesy($im), $gc);
|
||||
imageline($im, 0, imagesy($im) / 2, imagesx($im), imagesy($im) / 2, $gc);
|
||||
|
||||
|
||||
imagefttext($im, $font_size, $angle, $x, $y, $black, $font, $text);
|
||||
#imagefttext($im, $font_size, $angle, $x, $y, $black, $font, 'aj');
|
||||
|
||||
$c = imagecolorallocate($im, 0, 255, 0);
|
||||
imageline($im, $box['up-left']['x'] + $x, $box['up-left']['y'] + $y, $box['up-right']['x'] + $x, $box['up-right']['y'] + $y, $c);
|
||||
imageline($im, $box['up-right']['x'] + $x, $box['up-right']['y'] + $y, $box['down-right']['x'] + $x, $box['down-right']['y'] + $y, $c);
|
||||
imageline($im, $box['down-right']['x'] + $x, $box['down-right']['y'] + $y, $box['down-left']['x'] + $x, $box['down-left']['y'] + $y, $c);
|
||||
imageline($im, $box['down-left']['x'] + $x, $box['down-left']['y'] + $y, $box['up-left']['x'] + $x, $box['up-left']['y'] + $y, $c);
|
||||
|
||||
$c = imagecolorallocate($im, 0, 127, 255);
|
||||
$obox = outer_box($box);
|
||||
imageline($im, $obox['left'] + $x, $obox['top'] + $y, $obox['right'] + $x, $obox['top'] + $y, $c);
|
||||
imageline($im, $obox['right'] + $x, $obox['top'] + $y, $obox['right'] + $x, $obox['bottom'] + $y, $c);
|
||||
imageline($im, $obox['right'] + $x, $obox['bottom'] + $y, $obox['left'] + $x, $obox['bottom'] + $y, $c);
|
||||
imageline($im, $obox['left'] + $x, $obox['bottom'] + $y, $obox['left'] + $x, $obox['top'] + $y, $c);
|
||||
|
||||
imagefilledellipse($im, $x, $y, 3, 3, imagecolorallocate($im, 255, 0, 0));
|
||||
|
||||
|
||||
// Output to browser
|
||||
header('Content-type: image/png');
|
||||
|
||||
imagepng($im);
|
||||
imagedestroy($im);
|
124
vendor/bestmomo/filemanager/public/filemanager/connectors/php/inc/wideimage/demo/fonts/COPYRIGHT.TXT
vendored
Normal file
@@ -0,0 +1,124 @@
|
||||
Bitstream Vera Fonts Copyright
|
||||
|
||||
The fonts have a generous copyright, allowing derivative works (as
|
||||
long as "Bitstream" or "Vera" are not in the names), and full
|
||||
redistribution (so long as they are not *sold* by themselves). They
|
||||
can be be bundled, redistributed and sold with any software.
|
||||
|
||||
The fonts are distributed under the following copyright:
|
||||
|
||||
Copyright
|
||||
=========
|
||||
|
||||
Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream
|
||||
Vera is a trademark of Bitstream, Inc.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the fonts accompanying this license ("Fonts") and associated
|
||||
documentation files (the "Font Software"), to reproduce and distribute
|
||||
the Font Software, including without limitation the rights to use,
|
||||
copy, merge, publish, distribute, and/or sell copies of the Font
|
||||
Software, and to permit persons to whom the Font Software is furnished
|
||||
to do so, subject to the following conditions:
|
||||
|
||||
The above copyright and trademark notices and this permission notice
|
||||
shall be included in all copies of one or more of the Font Software
|
||||
typefaces.
|
||||
|
||||
The Font Software may be modified, altered, or added to, and in
|
||||
particular the designs of glyphs or characters in the Fonts may be
|
||||
modified and additional glyphs or characters may be added to the
|
||||
Fonts, only if the fonts are renamed to names not containing either
|
||||
the words "Bitstream" or the word "Vera".
|
||||
|
||||
This License becomes null and void to the extent applicable to Fonts
|
||||
or Font Software that has been modified and is distributed under the
|
||||
"Bitstream Vera" names.
|
||||
|
||||
The Font Software may be sold as part of a larger software package but
|
||||
no copy of one or more of the Font Software typefaces may be sold by
|
||||
itself.
|
||||
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL
|
||||
BITSTREAM OR THE GNOME FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL,
|
||||
OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
||||
OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT
|
||||
SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
|
||||
Except as contained in this notice, the names of Gnome, the Gnome
|
||||
Foundation, and Bitstream Inc., shall not be used in advertising or
|
||||
otherwise to promote the sale, use or other dealings in this Font
|
||||
Software without prior written authorization from the Gnome Foundation
|
||||
or Bitstream Inc., respectively. For further information, contact:
|
||||
fonts at gnome dot org.
|
||||
|
||||
Copyright FAQ
|
||||
=============
|
||||
|
||||
1. I don't understand the resale restriction... What gives?
|
||||
|
||||
Bitstream is giving away these fonts, but wishes to ensure its
|
||||
competitors can't just drop the fonts as is into a font sale system
|
||||
and sell them as is. It seems fair that if Bitstream can't make money
|
||||
from the Bitstream Vera fonts, their competitors should not be able to
|
||||
do so either. You can sell the fonts as part of any software package,
|
||||
however.
|
||||
|
||||
2. I want to package these fonts separately for distribution and
|
||||
sale as part of a larger software package or system. Can I do so?
|
||||
|
||||
Yes. A RPM or Debian package is a "larger software package" to begin
|
||||
with, and you aren't selling them independently by themselves.
|
||||
See 1. above.
|
||||
|
||||
3. Are derivative works allowed?
|
||||
Yes!
|
||||
|
||||
4. Can I change or add to the font(s)?
|
||||
Yes, but you must change the name(s) of the font(s).
|
||||
|
||||
5. Under what terms are derivative works allowed?
|
||||
|
||||
You must change the name(s) of the fonts. This is to ensure the
|
||||
quality of the fonts, both to protect Bitstream and Gnome. We want to
|
||||
ensure that if an application has opened a font specifically of these
|
||||
names, it gets what it expects (though of course, using fontconfig,
|
||||
substitutions could still could have occurred during font
|
||||
opening). You must include the Bitstream copyright. Additional
|
||||
copyrights can be added, as per copyright law. Happy Font Hacking!
|
||||
|
||||
6. If I have improvements for Bitstream Vera, is it possible they might get
|
||||
adopted in future versions?
|
||||
|
||||
Yes. The contract between the Gnome Foundation and Bitstream has
|
||||
provisions for working with Bitstream to ensure quality additions to
|
||||
the Bitstream Vera font family. Please contact us if you have such
|
||||
additions. Note, that in general, we will want such additions for the
|
||||
entire family, not just a single font, and that you'll have to keep
|
||||
both Gnome and Jim Lyles, Vera's designer, happy! To make sense to add
|
||||
glyphs to the font, they must be stylistically in keeping with Vera's
|
||||
design. Vera cannot become a "ransom note" font. Jim Lyles will be
|
||||
providing a document describing the design elements used in Vera, as a
|
||||
guide and aid for people interested in contributing to Vera.
|
||||
|
||||
7. I want to sell a software package that uses these fonts: Can I do so?
|
||||
|
||||
Sure. Bundle the fonts with your software and sell your software
|
||||
with the fonts. That is the intent of the copyright.
|
||||
|
||||
8. If applications have built the names "Bitstream Vera" into them,
|
||||
can I override this somehow to use fonts of my choosing?
|
||||
|
||||
This depends on exact details of the software. Most open source
|
||||
systems and software (e.g., Gnome, KDE, etc.) are now converting to
|
||||
use fontconfig (see www.fontconfig.org) to handle font configuration,
|
||||
selection and substitution; it has provisions for overriding font
|
||||
names and subsituting alternatives. An example is provided by the
|
||||
supplied local.conf file, which chooses the family Bitstream Vera for
|
||||
"sans", "serif" and "monospace". Other software (e.g., the XFree86
|
||||
core server) has other mechanisms for font substitution.
|
||||
|
@@ -0,0 +1,11 @@
|
||||
Contained herin is the Bitstream Vera font family.
|
||||
|
||||
The Copyright information is found in the COPYRIGHT.TXT file (along
|
||||
with being incoporated into the fonts themselves).
|
||||
|
||||
The releases notes are found in the file "RELEASENOTES.TXT".
|
||||
|
||||
We hope you enjoy Vera!
|
||||
|
||||
Bitstream, Inc.
|
||||
The Gnome Project
|
@@ -0,0 +1,162 @@
|
||||
Bitstream Vera Fonts - April 16, 2003
|
||||
=====================================
|
||||
|
||||
The version number of these fonts is 1.10 to distinguish them from the
|
||||
beta test fonts.
|
||||
|
||||
Note that the Vera copyright is incorporated in the fonts themselves.
|
||||
The License field in the fonts contains the copyright license as it
|
||||
appears below. The TrueType copyright field is not large enough to
|
||||
contain the full license, so the license is incorporated (as you might
|
||||
think if you thought about it) into the license field, which
|
||||
unfortunately can be obscure to find. (In pfaedit, see: Element->Font
|
||||
Info->TTFNames->License).
|
||||
|
||||
Our apologies for it taking longer to complete the fonts than planned.
|
||||
Beta testers requested a tighter line spacing (less leading) and Jim
|
||||
Lyles redesigned Vera's accents to bring its line spacing to more
|
||||
typical of other fonts. This took additional time and effort. Our
|
||||
thanks to Jim for this effort above and beyond the call of duty.
|
||||
|
||||
There are four monospace and sans faces (normal, oblique, bold, bold
|
||||
oblique) and two serif faces (normal and bold). Fontconfig/Xft2 (see
|
||||
www.fontconfig.org) can artificially oblique the serif faces for you:
|
||||
this loses hinting and distorts the faces slightly, but is visibly
|
||||
different than normal and bold, and reasonably pleasing.
|
||||
|
||||
On systems with fontconfig 2.0 or 2.1 installed, making your sans,
|
||||
serif and monospace fonts default to these fonts is very easy. Just
|
||||
drop the file local.conf into your /etc/fonts directory. This will
|
||||
make the Bitstream fonts your default fonts for all applications using
|
||||
fontconfig (if sans, serif, or monospace names are used, as they often
|
||||
are as default values in many desktops). The XML in local.conf may
|
||||
need modification to enable subpixel decimation, if appropriate,
|
||||
however, the commented out phrase does so for XFree86 4.3, in the case
|
||||
that the server does not have sufficient information to identify the
|
||||
use of a flat panel. Fontconfig 2.2 adds Vera to the list of font
|
||||
families and will, by default use it as the default sans, serif and
|
||||
monospace fonts.
|
||||
|
||||
During the testing of the final Vera fonts, we learned that screen
|
||||
fonts in general are only typically hinted to work correctly at
|
||||
integer pixel sizes. Vera is coded internally for integer sizes only.
|
||||
We need to investigate further to see if there are commonly used fonts
|
||||
that are hinted to be rounded but are not rounded to integer sizes due
|
||||
to oversights in their coding.
|
||||
|
||||
Most fonts work best at 8 pixels and below if anti-aliased only, as
|
||||
the amount of work required to hint well at smaller and smaller sizes
|
||||
becomes astronomical. GASP tables are typically used to control
|
||||
whether hinting is used or not, but Freetype/Xft does not currently
|
||||
support GASP tables (which are present in Vera).
|
||||
|
||||
To mitigate this problem, both for Vera and other fonts, there will be
|
||||
(very shortly) a new fontconfig 2.2 release that will, by default not
|
||||
apply hints if the size is below 8 pixels. if you should have a font
|
||||
that in fact has been hinted more agressively, you can use fontconfig
|
||||
to note this exception. We believe this should improve many hinted
|
||||
fonts in addition to Vera, though implemeting GASP support is likely
|
||||
the right long term solution.
|
||||
|
||||
Font rendering in Gnome or KDE is the combination of algorithms in
|
||||
Xft2 and Freetype, along with hinting in the fonts themselves. It is
|
||||
vital to have sufficient information to disentangle problems that you
|
||||
may observe.
|
||||
|
||||
Note that having your font rendering system set up correctly is vital
|
||||
to proper judgement of problems of the fonts:
|
||||
|
||||
* Freetype may or may not be configured to in ways that may
|
||||
implement execution of possibly patented (in some parts of the world)
|
||||
TrueType hinting algorithms, particularly at small sizes. Best
|
||||
results are obtained while using these algorithms.
|
||||
|
||||
* The freetype autohinter (used when the possibly patented
|
||||
algorithms are not used) continues to improve with each release. If
|
||||
you are using the autohinter, please ensure you are using an up to
|
||||
date version of freetype before reporting problems.
|
||||
|
||||
* Please identify what version of freetype you are using in any
|
||||
bug reports, and how your freetype is configured.
|
||||
|
||||
* Make sure you are not using the freetype version included in
|
||||
XFree86 4.3, as it has bugs that significantly degrade most fonts,
|
||||
including Vera. if you build XFree86 4.3 from source yourself, you may
|
||||
have installed this broken version without intending it (as I
|
||||
did). Vera was verified with the recently released Freetype 2.1.4. On
|
||||
many systems, 'ldd" can be used to see which freetype shared library
|
||||
is actually being used.
|
||||
|
||||
* Xft/X Render does not (yet) implement gamma correction. This
|
||||
causes significant problems rendering white text on a black background
|
||||
(causing partial pixels to be insufficiently shaded) if the gamma of
|
||||
your monitor has not been compensated for, and minor problems with
|
||||
black text on a while background. The program "xgamma" can be used to
|
||||
set a gamma correction value in the X server's color pallette. Most
|
||||
monitors have a gamma near 2.
|
||||
|
||||
* Note that the Vera family uses minimal delta hinting. Your
|
||||
results on other systems when not used anti-aliased may not be
|
||||
entirely satisfying. We are primarily interested in reports of
|
||||
problems on open source systems implementing Xft2/fontconfig/freetype
|
||||
(which implements antialiasing and hinting adjustements, and
|
||||
sophisticated subpixel decimation on flatpanels). Also, the
|
||||
algorithms used by Xft2 adjust the hints to integer widths and the
|
||||
results are crisper on open source systems than on Windows or
|
||||
MacIntosh.
|
||||
|
||||
* Your fontconfig may (probably does) predate the release of
|
||||
fontconfig 2.2, and you may see artifacts not present when the font is
|
||||
used at very small sizes with hinting enabled. "vc-list -V" can be
|
||||
used to see what version you have installed.
|
||||
|
||||
We believe and hope that these fonts will resolve the problems
|
||||
reported during beta test. The largest change is the reduction of
|
||||
leading (interline spacing), which had annoyed a number of people, and
|
||||
reduced Vera's utility for some applcations. The Vera monospace font
|
||||
should also now make '0' and 'O' and '1' and 'l' more clearly
|
||||
distinguishable.
|
||||
|
||||
The version of these fonts is version 1.10. Fontconfig should be
|
||||
choosing the new version of the fonts if both the released fonts and
|
||||
beta test fonts are installed (though please discard them: they have
|
||||
names of form tt20[1-12]gn.ttf). Note that older versions of
|
||||
fontconfig sometimes did not rebuild their cache correctly when new
|
||||
fonts are installed: please upgrade to fontconfig 2.2. "fc-cache -f"
|
||||
can be used to force rebuilding fontconfig's cache files.
|
||||
|
||||
If you note problems, please send them to fonts at gnome dot org, with
|
||||
exactly which face and size and unicode point you observe the problem
|
||||
at. The xfd utility from XFree86 CVS may be useful for this (e.g. "xfd
|
||||
-fa sans"). A possibly more useful program to examine fonts at a
|
||||
variety of sizes is the "waterfall" program found in Keith Packard's
|
||||
CVS.
|
||||
|
||||
$ cvs -d :pserver:anoncvs@keithp.com:/local/src/CVS login
|
||||
Logging in to :pserver:anoncvs@keithp.com:2401/local/src/CVS
|
||||
CVS password: <hit return>
|
||||
$ cvs -d :pserver:anoncvs@keithp.com:/local/src/CVS co waterfall
|
||||
$ cd waterfall
|
||||
$ xmkmf -a
|
||||
$ make
|
||||
# make install
|
||||
# make install.man
|
||||
|
||||
Again, please make sure you are running an up-to-date freetype, and
|
||||
that you are only examining integer sizes.
|
||||
|
||||
Reporting Problems
|
||||
==================
|
||||
|
||||
Please send problem reports to fonts at gnome org, with the following
|
||||
information:
|
||||
|
||||
1. Version of Freetype, Xft2 and fontconfig
|
||||
2. Whether TT hinting is being used, or the autohinter
|
||||
3. Application being used
|
||||
4. Character/Unicode code point that has problems (if applicable)
|
||||
5. Version of which operating system
|
||||
6. Please include a screenshot, when possible.
|
||||
|
||||
Please check the fonts list archives before reporting problems to cut
|
||||
down on duplication.
|
BIN
vendor/bestmomo/filemanager/public/filemanager/connectors/php/inc/wideimage/demo/fonts/Vera.ttf
vendored
Normal file
BIN
vendor/bestmomo/filemanager/public/filemanager/connectors/php/inc/wideimage/demo/fonts/VeraBI.ttf
vendored
Normal file
BIN
vendor/bestmomo/filemanager/public/filemanager/connectors/php/inc/wideimage/demo/fonts/VeraBd.ttf
vendored
Normal file
BIN
vendor/bestmomo/filemanager/public/filemanager/connectors/php/inc/wideimage/demo/fonts/VeraIt.ttf
vendored
Normal file
BIN
vendor/bestmomo/filemanager/public/filemanager/connectors/php/inc/wideimage/demo/fonts/VeraMoBI.ttf
vendored
Normal file
BIN
vendor/bestmomo/filemanager/public/filemanager/connectors/php/inc/wideimage/demo/fonts/VeraMoBd.ttf
vendored
Normal file
BIN
vendor/bestmomo/filemanager/public/filemanager/connectors/php/inc/wideimage/demo/fonts/VeraMoIt.ttf
vendored
Normal file
BIN
vendor/bestmomo/filemanager/public/filemanager/connectors/php/inc/wideimage/demo/fonts/VeraMono.ttf
vendored
Normal file
BIN
vendor/bestmomo/filemanager/public/filemanager/connectors/php/inc/wideimage/demo/fonts/VeraSe.ttf
vendored
Normal file
BIN
vendor/bestmomo/filemanager/public/filemanager/connectors/php/inc/wideimage/demo/fonts/VeraSeBd.ttf
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<!-- /etc/fonts.conf file to configure system font access -->
|
||||
<fontconfig>
|
||||
<!-- Enable sub-pixel rendering
|
||||
<match target="font">
|
||||
<test qual="all" name="rgba">
|
||||
<const>unknown</const>
|
||||
</test>
|
||||
<edit name="rgba" mode="assign"><const>rgb</const></edit>
|
||||
</match>
|
||||
-->
|
||||
|
||||
<alias>
|
||||
<family>serif</family>
|
||||
<prefer>
|
||||
<family>Bitstream Vera Serif</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>sans-serif</family>
|
||||
<prefer>
|
||||
<family>Bitstream Vera Sans</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>monospace</family>
|
||||
<prefer>
|
||||
<family>Bitstream Vera Sans Mono</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
</fontconfig>
|
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
class AngleField extends IntField
|
||||
{
|
||||
function __construct($name, $default, $hint = 'In degrees clockwise, negative values accepted')
|
||||
{
|
||||
parent::__construct($name, $default, $hint);
|
||||
}
|
||||
}
|
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
class CheckboxField extends Field
|
||||
{
|
||||
function init($request)
|
||||
{
|
||||
$this->value = $request->get($this->name, $this->default ? '1' : null) === '1';
|
||||
}
|
||||
|
||||
function renderBody($name, $id)
|
||||
{
|
||||
if ($this->value)
|
||||
$chk = 'checked="checked"';
|
||||
else
|
||||
$chk = '';
|
||||
|
||||
echo '<input type="hidden" name="' . $name . '" id="' . $id . '_val" value="' . ($this->value ? '1' : '') . '" />';
|
||||
echo '<input type="checkbox" ' . $chk . ' name="' . $name . '_cb" id="' . $id . '" value="1" onclick="document.getElementById(\'' . $id . '_val\').value = Number(this.checked);" />';
|
||||
}
|
||||
}
|
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
class CheckboxSetField extends Field
|
||||
{
|
||||
public $options;
|
||||
public $request;
|
||||
|
||||
function __construct($name, $options)
|
||||
{
|
||||
$this->name = $name;
|
||||
$this->options = $options;
|
||||
}
|
||||
|
||||
function init($request)
|
||||
{
|
||||
$this->value = array();
|
||||
if (is_array($request->get($this->name)))
|
||||
foreach ($request->get($this->name) as $val)
|
||||
if (in_array($val, $this->options))
|
||||
$this->value[] = $val;
|
||||
}
|
||||
|
||||
function render()
|
||||
{
|
||||
$request = $this->request;
|
||||
foreach ($this->options as $option)
|
||||
{
|
||||
if (is_array($request->get($this->name)) && in_array($option, $request->get($this->name)))
|
||||
$chk = 'checked="checked"';
|
||||
else
|
||||
$chk = '';
|
||||
|
||||
$name = $this->name . '[]';
|
||||
$id = $this->name . '_' . $option;
|
||||
echo '<input type="checkbox" ' . $chk . ' name="' . $name . '" id="' . $id . '" value="' . $option . '" />';
|
||||
echo '<label for="' . $id . '">' . $option . '</label> ';
|
||||
}
|
||||
}
|
||||
|
||||
function getURLValue()
|
||||
{
|
||||
$v = '';
|
||||
foreach ($this->value as $value)
|
||||
$v .= $this->name . '[]=' . $value . '&';
|
||||
return $v;
|
||||
}
|
||||
}
|
||||
|
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
class ColorField extends Field
|
||||
{
|
||||
function __construct($name, $default, $hint = 'RRGGBB hex, leave blank for transparent background')
|
||||
{
|
||||
parent::__construct($name, $default, $hint);
|
||||
}
|
||||
|
||||
function init($request)
|
||||
{
|
||||
$c = $request->getColor($this->name, $this->default);
|
||||
if ($c === '')
|
||||
$this->value = null;
|
||||
else
|
||||
$this->value = str_pad(dechex(hexdec($c)), 6, '0', STR_PAD_LEFT);
|
||||
}
|
||||
|
||||
function getRenderValue()
|
||||
{
|
||||
return $this->value;
|
||||
}
|
||||
}
|
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
class CoordinateField extends Field
|
||||
{
|
||||
function __construct($name, $default, $hint = 'Smart coordinate')
|
||||
{
|
||||
parent::__construct($name, $default, $hint);
|
||||
}
|
||||
|
||||
function init($request)
|
||||
{
|
||||
$this->value = $request->getCoordinate($this->name, $this->default);
|
||||
if ($this->value > 1000)
|
||||
$this->value = 1000;
|
||||
}
|
||||
}
|
@@ -0,0 +1,63 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
class Demo
|
||||
{
|
||||
public $name;
|
||||
public $format = null;
|
||||
public $fields = array();
|
||||
public $order = 1000;
|
||||
|
||||
function __construct($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
|
||||
function init()
|
||||
{
|
||||
}
|
||||
|
||||
static function create($name)
|
||||
{
|
||||
$file = DEMO_PATH . '/demos/' . $name . '.php';
|
||||
if (!file_exists($file))
|
||||
throw new Exception("Invalid demo: {$name}");
|
||||
include $file;
|
||||
$className = 'Demo_' . $name;
|
||||
$demo = new $className($name);
|
||||
$demo->request = Request::getInstance();
|
||||
$demo->init();
|
||||
foreach ($demo->fields as $field)
|
||||
{
|
||||
$field->request = Request::getInstance();
|
||||
$field->init(Request::getInstance());
|
||||
}
|
||||
return $demo;
|
||||
}
|
||||
|
||||
function getFormat()
|
||||
{
|
||||
return 'as input';
|
||||
}
|
||||
|
||||
function addField($field)
|
||||
{
|
||||
$this->fields[$field->name] = $field;
|
||||
}
|
||||
|
||||
function __toString()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
function text()
|
||||
{
|
||||
}
|
||||
|
||||
function fval($name)
|
||||
{
|
||||
return $this->fields[$name]->value;
|
||||
}
|
||||
}
|
||||
|
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
class Field
|
||||
{
|
||||
public $name;
|
||||
public $default;
|
||||
public $value;
|
||||
public $request;
|
||||
public $hint;
|
||||
|
||||
function __construct($name, $default = null, $hint = '')
|
||||
{
|
||||
$this->name = $name;
|
||||
$this->default = $default;
|
||||
|
||||
if ($hint == '')
|
||||
$hint = $name;
|
||||
|
||||
$this->hint = $hint;
|
||||
}
|
||||
|
||||
function init($request)
|
||||
{
|
||||
$this->value = $request->get($this->name, $this->default);
|
||||
}
|
||||
|
||||
function render()
|
||||
{
|
||||
$id = htmlentities($this->name);
|
||||
echo '<label style="background-color: #c0c0c0; padding: 5px; margin: 2px;" for="imgparam_' . $id . '" title="' . htmlentities($this->hint) . '">';
|
||||
echo $this->name . ': ';
|
||||
$this->renderBody($id, 'imgparam_' . $id);
|
||||
echo '</label> ';
|
||||
}
|
||||
|
||||
function renderBody($name, $id)
|
||||
{
|
||||
echo '<input id="' . $id . '" type="text" size="15" name="' . $name . '" value="' . $this->getRenderValue() . '" />';
|
||||
}
|
||||
|
||||
function getRenderValue()
|
||||
{
|
||||
return $this->value;
|
||||
}
|
||||
|
||||
function getUrlValue()
|
||||
{
|
||||
return urlencode($this->name) . '=' . urlencode($this->value);
|
||||
}
|
||||
}
|
@@ -0,0 +1,83 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
class FileSelectField extends Field
|
||||
{
|
||||
public $request;
|
||||
public $files = array();
|
||||
public $options;
|
||||
|
||||
function __construct($name, $path, $options = array())
|
||||
{
|
||||
$this->name = $name;
|
||||
$this->path = $path;
|
||||
$this->options = $options;
|
||||
|
||||
if (!isset($options['show']))
|
||||
$this->options['show'] = true;
|
||||
|
||||
if (!isset($options['pattern']))
|
||||
$this->options['pattern'] = '/(.*)/';
|
||||
}
|
||||
|
||||
function init($request)
|
||||
{
|
||||
$this->value = null;
|
||||
$di = new DirectoryIterator(DEMO_PATH . $this->path);
|
||||
foreach ($di as $file)
|
||||
if (!$file->isDot() && strpos($file->getFilename(), '.') !== 0 && preg_match($this->options['pattern'], $file->getFilename()))
|
||||
{
|
||||
$this->files[] = $file->getFilename();
|
||||
if ($this->value === null && isset($this->options['default']) && $this->options['default'] == $file->getFilename())
|
||||
$this->value = $this->options['default'];
|
||||
|
||||
if ($this->request->get($this->name) == $file->getFilename())
|
||||
$this->value = $file->getFilename();
|
||||
}
|
||||
|
||||
sort($this->files);
|
||||
|
||||
if (!$this->value && count($this->files) > 0)
|
||||
$this->value = $this->files[0];
|
||||
}
|
||||
|
||||
function renderBody($name, $id)
|
||||
{
|
||||
if ($this->options['show'])
|
||||
{
|
||||
$onch = "document.getElementById('sel_{$id}').src = '{$this->path}/' + this.options[this.selectedIndex].value;";
|
||||
}
|
||||
else
|
||||
$onch = '';
|
||||
|
||||
echo '<select id="' . $id . '" name="' . $name . '" onchange="' . $onch . '">';
|
||||
$selected_file = null;
|
||||
foreach ($this->files as $file)
|
||||
{
|
||||
if ($this->value == $file)
|
||||
{
|
||||
$sel = 'selected="selected"';
|
||||
$selected_file = $file;
|
||||
}
|
||||
else
|
||||
$sel = '';
|
||||
|
||||
echo '<option ' . $sel . ' value="' . $file . '">' . $file . '</option>' . PHP_EOL;
|
||||
}
|
||||
echo '</select>';
|
||||
|
||||
if ($this->options['show'] && $selected_file)
|
||||
{
|
||||
echo '<div style="display: inline; min-width: 50px; min-height: 50px">';
|
||||
echo '<img style="position: absolute" id="sel_' . $id . '" width="50" src="' . $this->path . '/' . $selected_file . '" /> ';
|
||||
echo " ";
|
||||
echo '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
function getURLValue()
|
||||
{
|
||||
return $this->name . '=' . $this->value;
|
||||
}
|
||||
}
|
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
class FloatField extends Field
|
||||
{
|
||||
function __construct($name, $default, $hint = 'Float')
|
||||
{
|
||||
parent::__construct($name, $default, $hint);
|
||||
}
|
||||
|
||||
function init($request)
|
||||
{
|
||||
$this->value = $request->getFloat($this->name, $this->default);
|
||||
}
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
class FormatSelectField extends SelectField
|
||||
{
|
||||
function __construct($name)
|
||||
{
|
||||
parent::__construct($name, array('preset for demo', 'as input', 'png8', 'png24', 'jpeg', 'gif', 'bmp'), null, 'Image format');
|
||||
}
|
||||
}
|
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
class IntField extends Field
|
||||
{
|
||||
function __construct($name, $default, $hint = 'Integer')
|
||||
{
|
||||
parent::__construct($name, $default, $hint);
|
||||
}
|
||||
|
||||
function init($request)
|
||||
{
|
||||
$this->value = $request->getInt($this->name, $this->default);
|
||||
}
|
||||
}
|
135
vendor/bestmomo/filemanager/public/filemanager/connectors/php/inc/wideimage/demo/helpers/Request.php
vendored
Normal file
@@ -0,0 +1,135 @@
|
||||
<?php
|
||||
/**
|
||||
This file is part of WideImage.
|
||||
|
||||
WideImage is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published by
|
||||
the Free Software Foundation; either version 2.1 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
WideImage is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with WideImage; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
**/
|
||||
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
class Request
|
||||
{
|
||||
protected $vars = array();
|
||||
|
||||
protected static $instance;
|
||||
static function getInstance()
|
||||
{
|
||||
if (self::$instance === null)
|
||||
self::$instance = new Request;
|
||||
return self::$instance;
|
||||
}
|
||||
|
||||
protected function __construct()
|
||||
{
|
||||
$this->vars = $_GET;
|
||||
|
||||
/*
|
||||
// have to rely on parsing QUERY_STRING, thanks to PHP
|
||||
// http://bugs.php.net/bug.php?id=39078
|
||||
// http://bugs.php.net/bug.php?id=45149
|
||||
$all_vars = explode('&', $_SERVER['QUERY_STRING']);
|
||||
foreach ($all_vars as $keyval)
|
||||
{
|
||||
if (strlen($keyval) == 0)
|
||||
continue;
|
||||
|
||||
if (strpos($keyval, '=') === false)
|
||||
{
|
||||
$key = $keyval;
|
||||
$value = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
list($key, $value) = explode('=', $keyval);
|
||||
#$value = str_replace('%2B', '[[PLUS]]', $value);
|
||||
$value = urldecode($value);
|
||||
#$value = str_replace('[[PLUS]]', '+', $value);
|
||||
}
|
||||
$this->vars[$key] = $value;
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
function get($key, $default = null)
|
||||
{
|
||||
if (isset($this->vars[$key]))
|
||||
return $this->vars[$key];
|
||||
else
|
||||
return $default;
|
||||
}
|
||||
|
||||
function set($key, $value)
|
||||
{
|
||||
$this->vars[$key] = $value;
|
||||
}
|
||||
|
||||
function getInt($key, $default = 0)
|
||||
{
|
||||
$value = self::get($key);
|
||||
if (strlen($value) > 0)
|
||||
return intval($value);
|
||||
else
|
||||
return $default;
|
||||
}
|
||||
|
||||
function getFloat($key, $default = 0)
|
||||
{
|
||||
$value = self::get($key);
|
||||
if (strlen($value) > 0)
|
||||
return floatval($value);
|
||||
else
|
||||
return $default;
|
||||
}
|
||||
|
||||
function getCoordinate($key, $default = 0)
|
||||
{
|
||||
$v = self::get($key);
|
||||
if (strlen($v) > 0 && WideImage_Coordinate::parse($v) !== null)
|
||||
return self::get($key);
|
||||
else
|
||||
return $default;
|
||||
}
|
||||
|
||||
function getOption($key, $valid = array(), $default = null)
|
||||
{
|
||||
$value = self::get($key);
|
||||
if ($value !== null && in_array($value, $valid))
|
||||
return strval($value);
|
||||
else
|
||||
return $default;
|
||||
}
|
||||
|
||||
function getColor($key, $default = '000000')
|
||||
{
|
||||
$value = self::get($key);
|
||||
if (substr($value, 0, 1) == '#')
|
||||
$value = substr($value, 1);
|
||||
|
||||
if ($value === '' || preg_match('~^[0-9a-f]{1,6}$~i', $value))
|
||||
return $value;
|
||||
else
|
||||
return $default;
|
||||
}
|
||||
|
||||
function getRegex($key, $regex, $default = null)
|
||||
{
|
||||
$value = self::get($key);
|
||||
if ($value !== null && preg_match($regex, $value))
|
||||
return $value;
|
||||
else
|
||||
return $default;
|
||||
}
|
||||
}
|
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
class SelectField extends Field
|
||||
{
|
||||
public $options;
|
||||
|
||||
function __construct($name, $options, $default = null, $hint = null)
|
||||
{
|
||||
parent::__construct($name, $default, $hint);
|
||||
$this->name = $name;
|
||||
$this->options = $options;
|
||||
if ($default === null)
|
||||
$this->default = $options[0];
|
||||
else
|
||||
$this->default = $default;
|
||||
}
|
||||
|
||||
function init($request)
|
||||
{
|
||||
$this->value = $this->default;
|
||||
$v = str_replace('+', ' ', $request->get($this->name));
|
||||
if (in_array($v, $this->options))
|
||||
$this->value = $v;
|
||||
}
|
||||
|
||||
function renderBody($name, $id)
|
||||
{
|
||||
echo '<select id="' . $id . '" name="' . $name . '">';
|
||||
foreach ($this->options as $option)
|
||||
{
|
||||
if ($this->value == $option)
|
||||
$sel = 'selected="selected"';
|
||||
else
|
||||
$sel = '';
|
||||
|
||||
echo '<option ' . $sel . ' value="' . $option . '">' . $option . '</option>';
|
||||
}
|
||||
echo '</select>';
|
||||
}
|
||||
}
|
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
define('DEMO_PATH', realpath(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..') . DIRECTORY_SEPARATOR);
|
||||
|
||||
error_reporting(E_ALL | E_STRICT);
|
||||
ini_set('display_errors', true);
|
||||
|
||||
require_once DEMO_PATH . 'helpers/Request.php';
|
||||
require_once DEMO_PATH . 'helpers/Demo.php';
|
||||
require_once DEMO_PATH . 'helpers/Field.php';
|
||||
require_once DEMO_PATH . 'helpers/CheckboxField.php';
|
||||
require_once DEMO_PATH . 'helpers/FileSelectField.php';
|
||||
require_once DEMO_PATH . 'helpers/CoordinateField.php';
|
||||
require_once DEMO_PATH . 'helpers/IntField.php';
|
||||
require_once DEMO_PATH . 'helpers/FloatField.php';
|
||||
require_once DEMO_PATH . 'helpers/AngleField.php';
|
||||
require_once DEMO_PATH . 'helpers/SelectField.php';
|
||||
require_once DEMO_PATH . 'helpers/FormatSelectField.php';
|
||||
require_once DEMO_PATH . 'helpers/ColorField.php';
|
||||
|
52
vendor/bestmomo/filemanager/public/filemanager/connectors/php/inc/wideimage/demo/image.php
vendored
Normal file
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Demos
|
||||
*/
|
||||
|
||||
require_once dirname(__FILE__) . '/helpers/common.php';
|
||||
require_once dirname(__FILE__) . '/../lib/WideImage.php';
|
||||
|
||||
$request = Request::getInstance();
|
||||
$demo = Demo::create($request->get('demo'));
|
||||
$image = WideImage::load('images/' . $request->get('image'));
|
||||
|
||||
$result = $demo->execute($image, $request);
|
||||
|
||||
$output = new FormatSelectField('output');
|
||||
$output->init(Request::getInstance());
|
||||
|
||||
if ($output->value == 'preset for demo')
|
||||
$format = $demo->getFormat();
|
||||
else
|
||||
$format = $output->value;
|
||||
|
||||
if ($format === 'as input')
|
||||
$format = substr($request->get('image'), -3);
|
||||
|
||||
$output = 24;
|
||||
if ($format == 'png8')
|
||||
{
|
||||
$output = 8;
|
||||
$format = 'png';
|
||||
}
|
||||
elseif ($format == 'png24')
|
||||
$format = 'png';
|
||||
elseif ($format == 'gif')
|
||||
$output = 8;
|
||||
|
||||
if ($output == 8)
|
||||
{
|
||||
$ncolors = new IntField('colors', 255);
|
||||
$ncolors->init(Request::getInstance());
|
||||
|
||||
$dither = new CheckboxField('dither', true);
|
||||
$dither->init(Request::getInstance());
|
||||
|
||||
$match_palette = new CheckboxField('match_palette', true);
|
||||
$match_palette->init(Request::getInstance());
|
||||
|
||||
$result = $result->asPalette($ncolors->value, $dither->value, $match_palette->value);
|
||||
}
|
||||
|
||||
$result->output($format);
|
||||
|
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 330 B |
BIN
vendor/bestmomo/filemanager/public/filemanager/connectors/php/inc/wideimage/demo/images/3-smiley.gif
vendored
Normal file
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 545 B |
BIN
vendor/bestmomo/filemanager/public/filemanager/connectors/php/inc/wideimage/demo/images/5-circle.png
vendored
Normal file
After Width: | Height: | Size: 8.1 KiB |
BIN
vendor/bestmomo/filemanager/public/filemanager/connectors/php/inc/wideimage/demo/images/6-logo.gif
vendored
Normal file
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 1.4 KiB |
BIN
vendor/bestmomo/filemanager/public/filemanager/connectors/php/inc/wideimage/demo/images/bg03.bmp
vendored
Normal file
After Width: | Height: | Size: 74 KiB |
BIN
vendor/bestmomo/filemanager/public/filemanager/connectors/php/inc/wideimage/demo/images/fgnl.jpg
vendored
Normal file
After Width: | Height: | Size: 23 KiB |
174
vendor/bestmomo/filemanager/public/filemanager/connectors/php/inc/wideimage/demo/index.php
vendored
Normal file
@@ -0,0 +1,174 @@
|
||||
<?php
|
||||
/**
|
||||
This file is part of WideImage.
|
||||
|
||||
WideImage is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published by
|
||||
the Free Software Foundation; either version 2.1 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
WideImage is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with WideImage; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
* @package Demos
|
||||
**/
|
||||
|
||||
include 'helpers/common.php';
|
||||
require_once '../lib/WideImage.php';
|
||||
|
||||
$demos = array();
|
||||
$di = new DirectoryIterator(dirname(__FILE__) . '/demos/');
|
||||
foreach ($di as $file)
|
||||
if (substr($file->getFilename(), -4) == '.php')
|
||||
$demos[] = Demo::create(substr($file->getFilename(), 0, -4));
|
||||
|
||||
usort($demos, 'cmp_demos');
|
||||
|
||||
function cmp_demos($d1, $d2)
|
||||
{
|
||||
if ($d1->order === $d2->order)
|
||||
return 0;
|
||||
|
||||
return ($d1->order < $d2->order ? -1 : 1);
|
||||
}
|
||||
|
||||
if (isset($_GET['demo']))
|
||||
$activeDemoName = $_GET['demo'];
|
||||
else
|
||||
$activeDemoName = null;
|
||||
|
||||
$activeDemo = null;
|
||||
foreach ($demos as $demo)
|
||||
if ($demo->name == $activeDemoName)
|
||||
{
|
||||
$activeDemo = $demo;
|
||||
break;
|
||||
}
|
||||
|
||||
if (!$activeDemo)
|
||||
$activeDemoName = null;
|
||||
|
||||
?>
|
||||
<html>
|
||||
<head>
|
||||
<title>WideImage -<?php if ($activeDemo) echo " " . $activeDemo->name; ?> demo</title>
|
||||
|
||||
<style>
|
||||
body
|
||||
{
|
||||
background-color: #f0f0f0;
|
||||
background-image: url("bg.gif");
|
||||
background-attachment: fixed;
|
||||
}
|
||||
|
||||
div.images {
|
||||
float: left;
|
||||
margin: 20px;
|
||||
}
|
||||
|
||||
div.images img {
|
||||
border-width: 0px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
div.images a img
|
||||
{
|
||||
border: 1px dashed red;
|
||||
}
|
||||
|
||||
td { border-bottom: 1px solid grey; padding: 10px; }
|
||||
td.left { text-align: left }
|
||||
td.right { text-align: right }
|
||||
|
||||
.navbar {
|
||||
width: 150px;
|
||||
background-color: white;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.navbar a
|
||||
{
|
||||
color: black;
|
||||
}
|
||||
|
||||
.navbar a:visited
|
||||
{
|
||||
color: gray;
|
||||
}
|
||||
|
||||
a.active_demo {
|
||||
color: green;
|
||||
}
|
||||
|
||||
a.active_demo:visited {
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="navbar">
|
||||
<strong><a href="index.php">WideImage demos</a></strong>
|
||||
|
||||
<ul>
|
||||
<?php
|
||||
$top_form = array();
|
||||
|
||||
$top_form['output'] = new FormatSelectField('output');
|
||||
$top_form['output']->init(Request::getInstance());
|
||||
|
||||
$top_form['ncolors'] = new IntField('colors', 255);
|
||||
$top_form['ncolors']->init(Request::getInstance());
|
||||
|
||||
$top_form['dither'] = new CheckboxField('dither', true);
|
||||
$top_form['dither']->init(Request::getInstance());
|
||||
$top_form['match_palette'] = new CheckboxField('match_palette', true);
|
||||
$top_form['match_palette']->init(Request::getInstance());
|
||||
|
||||
foreach ($demos as $demo)
|
||||
{
|
||||
if ($activeDemo !== null && $demo->name == $activeDemo->name)
|
||||
$css = 'active_demo';
|
||||
else
|
||||
$css = '';
|
||||
|
||||
echo "<li><a class=\"$css\" href=\"?demo={$demo->name}&output={$top_form['output']->value}&colors={$top_form['ncolors']->value}&dither={$top_form['dither']->value}&match_palette={$top_form['match_palette']->value}\">{$demo->name}</a></li>\n";
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
|
||||
<span style="font-family: Verdana, Tahoma; font-size: 11px">
|
||||
This demo is primarily intended to easily try some of the features.
|
||||
There may be some bugs that don't actually occur with WideImage if used properly.
|
||||
<br />
|
||||
<br />
|
||||
|
||||
Version: <?php echo WideImage::version(); ?>
|
||||
|
||||
<br />
|
||||
<br />
|
||||
© 2007-2011
|
||||
<br />
|
||||
<a href="http://kozak.si/widethoughts/">Gasper Kozak</a><br />
|
||||
<br />
|
||||
Read more about WideImage on the
|
||||
<a href="http://wideimage.sourceforge.net">project page</a>.
|
||||
</span>
|
||||
</div>
|
||||
<div style="margin-left: 200px">
|
||||
<?php
|
||||
if ($activeDemo)
|
||||
{
|
||||
include 'demo_screen.php';
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 8.1 KiB |
After Width: | Height: | Size: 7.7 KiB |
After Width: | Height: | Size: 2.3 KiB |
@@ -0,0 +1,270 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Docs For Class WideImage_Exception</title>
|
||||
<link rel="stylesheet" type="text/css" href="../media/style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
|
||||
<tr>
|
||||
<td class="header_top">Exceptions</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
<tr>
|
||||
<td class="header_menu">
|
||||
|
||||
|
||||
[ <a href="../classtrees_Exceptions.html" class="menu">class tree: Exceptions</a> ]
|
||||
[ <a href="../elementindex_Exceptions.html" class="menu">index: Exceptions</a> ]
|
||||
[ <a href="../elementindex.html" class="menu">all elements</a> ]
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
</table>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr valign="top">
|
||||
<td width="200" class="menu">
|
||||
<b>Packages:</b><br />
|
||||
<a href="../li_Exceptions.html">Exceptions</a><br />
|
||||
<a href="../li_Internal-Mappers.html">Internal-Mappers</a><br />
|
||||
<a href="../li_Internal-Operations.html">Internal-Operations</a><br />
|
||||
<a href="../li_Internals.html">Internals</a><br />
|
||||
<a href="../li_WideImage.html">WideImage</a><br />
|
||||
<br /><br />
|
||||
|
||||
|
||||
<b>Classes:</b><br />
|
||||
<div class="package">
|
||||
<a href="../Exceptions/WideImage_Exception.html">WideImage_Exception</a><br />
|
||||
<a href="../Exceptions/WideImage_GDFunctionResultException.html">WideImage_GDFunctionResultException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidCanvasMethodException.html">WideImage_InvalidCanvasMethodException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidCoordinateException.html">WideImage_InvalidCoordinateException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidFontFileException.html">WideImage_InvalidFontFileException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageDimensionException.html">WideImage_InvalidImageDimensionException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageHandleException.html">WideImage_InvalidImageHandleException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageSourceException.html">WideImage_InvalidImageSourceException</a><br />
|
||||
<a href="../Exceptions/WideImage_NoFontException.html">WideImage_NoFontException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnknownErrorWhileMappingException.html">WideImage_UnknownErrorWhileMappingException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnknownImageOperationException.html">WideImage_UnknownImageOperationException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnsupportedFormatException.html">WideImage_UnsupportedFormatException</a><br />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
|
||||
|
||||
<h1>Class: WideImage_Exception</h1>
|
||||
Source Location: /Exception.php<br /><br />
|
||||
|
||||
|
||||
<table width="100%" border="0">
|
||||
<tr><td valign="top">
|
||||
|
||||
<h3><a href="#class_details">Class Overview</a></h3>
|
||||
<pre>RuntimeException
|
||||
|
|
||||
--WideImage_Exception</pre><br />
|
||||
<div class="description">Base Exception class</div><br /><br />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<table width="100%" border="0"><tr>
|
||||
|
||||
|
||||
<td valign="top">
|
||||
<h3>Child classes:</h3>
|
||||
<div class="tags">
|
||||
<dl>
|
||||
<dt><a href="../Exceptions/WideImage_UnknownImageOperationException.html">WideImage_UnknownImageOperationException</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><a href="../Exceptions/WideImage_InvalidImageDimensionException.html">WideImage_InvalidImageDimensionException</a></dt>
|
||||
<dd>Thrown when an invalid dimension is passed for some operations</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><a href="../Exceptions/WideImage_UnknownErrorWhileMappingException.html">WideImage_UnknownErrorWhileMappingException</a></dt>
|
||||
<dd>Thrown when an image can't be saved (returns false by the mapper)</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><a href="../Internal-Operations/WideImage_Operation_InvalidFitMethodException.html">WideImage_Operation_InvalidFitMethodException</a></dt>
|
||||
<dd>An Exception for when an invalid fit method is passed</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><a href="../Internal-Operations/WideImage_Operation_InvalidResizeDimensionException.html">WideImage_Operation_InvalidResizeDimensionException</a></dt>
|
||||
<dd>An Exception for when an invalid resize dimensions are passed</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><a href="../Exceptions/WideImage_InvalidImageHandleException.html">WideImage_InvalidImageHandleException</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><a href="../Exceptions/WideImage_InvalidImageSourceException.html">WideImage_InvalidImageSourceException</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><a href="../Exceptions/WideImage_GDFunctionResultException.html">WideImage_GDFunctionResultException</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><a href="../Exceptions/WideImage_InvalidCoordinateException.html">WideImage_InvalidCoordinateException</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><a href="../Exceptions/WideImage_UnsupportedFormatException.html">WideImage_UnsupportedFormatException</a></dt>
|
||||
<dd>Thrown when image format isn't supported</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><a href="../Exceptions/WideImage_NoFontException.html">WideImage_NoFontException</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><a href="../Exceptions/WideImage_InvalidFontFileException.html">WideImage_InvalidFontFileException</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><a href="../Exceptions/WideImage_InvalidCanvasMethodException.html">WideImage_InvalidCanvasMethodException</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
|
||||
<td valign="top">
|
||||
<h3>Inherited Variables</h3>
|
||||
<div class="tags">
|
||||
<h4>Class: RuntimeException (Internal Class)</h4>
|
||||
<dl>
|
||||
<dt>
|
||||
$code
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
</dd>
|
||||
<dt>
|
||||
$file
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
</dd>
|
||||
<dt>
|
||||
$line
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
</dd>
|
||||
<dt>
|
||||
$message
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<td valign="top">
|
||||
<h3>Inherited Methods</h3>
|
||||
<div class="tags">
|
||||
<h4>Class: RuntimeException (Internal Class)</h4>
|
||||
<dl>
|
||||
<dt>
|
||||
constructor __construct ( [$message = ], [$code = ], [$previous = ] )
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
</dd>
|
||||
<dt>
|
||||
getCode ( )
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
</dd>
|
||||
<dt>
|
||||
getFile ( )
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
</dd>
|
||||
<dt>
|
||||
getLine ( )
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
</dd>
|
||||
<dt>
|
||||
getMessage ( )
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
</dd>
|
||||
<dt>
|
||||
getPrevious ( )
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
</dd>
|
||||
<dt>
|
||||
getTrace ( )
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
</dd>
|
||||
<dt>
|
||||
getTraceAsString ( )
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
</dd>
|
||||
<dt>
|
||||
__clone ( )
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
</dd>
|
||||
<dt>
|
||||
__toString ( )
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<a name="class_details"></a>
|
||||
<h3>Class Details</h3>
|
||||
<div class="tags">
|
||||
[line 30]<br />
|
||||
Base Exception class<br /><br /></div><br /><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Sat, 19 Feb 2011 12:55:42 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,115 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Docs For Class WideImage_GDFunctionResultException</title>
|
||||
<link rel="stylesheet" type="text/css" href="../media/style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
|
||||
<tr>
|
||||
<td class="header_top">Exceptions</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
<tr>
|
||||
<td class="header_menu">
|
||||
|
||||
|
||||
[ <a href="../classtrees_Exceptions.html" class="menu">class tree: Exceptions</a> ]
|
||||
[ <a href="../elementindex_Exceptions.html" class="menu">index: Exceptions</a> ]
|
||||
[ <a href="../elementindex.html" class="menu">all elements</a> ]
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
</table>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr valign="top">
|
||||
<td width="200" class="menu">
|
||||
<b>Packages:</b><br />
|
||||
<a href="../li_Exceptions.html">Exceptions</a><br />
|
||||
<a href="../li_Internal-Mappers.html">Internal-Mappers</a><br />
|
||||
<a href="../li_Internal-Operations.html">Internal-Operations</a><br />
|
||||
<a href="../li_Internals.html">Internals</a><br />
|
||||
<a href="../li_WideImage.html">WideImage</a><br />
|
||||
<br /><br />
|
||||
|
||||
|
||||
<b>Classes:</b><br />
|
||||
<div class="package">
|
||||
<a href="../Exceptions/WideImage_Exception.html">WideImage_Exception</a><br />
|
||||
<a href="../Exceptions/WideImage_GDFunctionResultException.html">WideImage_GDFunctionResultException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidCanvasMethodException.html">WideImage_InvalidCanvasMethodException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidCoordinateException.html">WideImage_InvalidCoordinateException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidFontFileException.html">WideImage_InvalidFontFileException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageDimensionException.html">WideImage_InvalidImageDimensionException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageHandleException.html">WideImage_InvalidImageHandleException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageSourceException.html">WideImage_InvalidImageSourceException</a><br />
|
||||
<a href="../Exceptions/WideImage_NoFontException.html">WideImage_NoFontException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnknownErrorWhileMappingException.html">WideImage_UnknownErrorWhileMappingException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnknownImageOperationException.html">WideImage_UnknownImageOperationException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnsupportedFormatException.html">WideImage_UnsupportedFormatException</a><br />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
|
||||
|
||||
<h1>Class: WideImage_GDFunctionResultException</h1>
|
||||
Source Location: /WideImage.php<br /><br />
|
||||
|
||||
|
||||
<table width="100%" border="0">
|
||||
<tr><td valign="top">
|
||||
|
||||
<h3><a href="#class_details">Class Overview</a></h3>
|
||||
<pre>RuntimeException
|
||||
|
|
||||
--<a href="../Exceptions/WideImage_Exception.html">WideImage_Exception</a>
|
||||
|
|
||||
--WideImage_GDFunctionResultException</pre><br />
|
||||
<div class="description"></div><br /><br />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<table width="100%" border="0"><tr>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<a name="class_details"></a>
|
||||
<h3>Class Details</h3>
|
||||
<div class="tags">
|
||||
[line 55]<br />
|
||||
</div><br /><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Sat, 19 Feb 2011 12:55:43 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,115 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Docs For Class WideImage_InvalidCanvasMethodException</title>
|
||||
<link rel="stylesheet" type="text/css" href="../media/style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
|
||||
<tr>
|
||||
<td class="header_top">Exceptions</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
<tr>
|
||||
<td class="header_menu">
|
||||
|
||||
|
||||
[ <a href="../classtrees_Exceptions.html" class="menu">class tree: Exceptions</a> ]
|
||||
[ <a href="../elementindex_Exceptions.html" class="menu">index: Exceptions</a> ]
|
||||
[ <a href="../elementindex.html" class="menu">all elements</a> ]
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
</table>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr valign="top">
|
||||
<td width="200" class="menu">
|
||||
<b>Packages:</b><br />
|
||||
<a href="../li_Exceptions.html">Exceptions</a><br />
|
||||
<a href="../li_Internal-Mappers.html">Internal-Mappers</a><br />
|
||||
<a href="../li_Internal-Operations.html">Internal-Operations</a><br />
|
||||
<a href="../li_Internals.html">Internals</a><br />
|
||||
<a href="../li_WideImage.html">WideImage</a><br />
|
||||
<br /><br />
|
||||
|
||||
|
||||
<b>Classes:</b><br />
|
||||
<div class="package">
|
||||
<a href="../Exceptions/WideImage_Exception.html">WideImage_Exception</a><br />
|
||||
<a href="../Exceptions/WideImage_GDFunctionResultException.html">WideImage_GDFunctionResultException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidCanvasMethodException.html">WideImage_InvalidCanvasMethodException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidCoordinateException.html">WideImage_InvalidCoordinateException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidFontFileException.html">WideImage_InvalidFontFileException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageDimensionException.html">WideImage_InvalidImageDimensionException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageHandleException.html">WideImage_InvalidImageHandleException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageSourceException.html">WideImage_InvalidImageSourceException</a><br />
|
||||
<a href="../Exceptions/WideImage_NoFontException.html">WideImage_NoFontException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnknownErrorWhileMappingException.html">WideImage_UnknownErrorWhileMappingException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnknownImageOperationException.html">WideImage_UnknownImageOperationException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnsupportedFormatException.html">WideImage_UnsupportedFormatException</a><br />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
|
||||
|
||||
<h1>Class: WideImage_InvalidCanvasMethodException</h1>
|
||||
Source Location: /Canvas.php<br /><br />
|
||||
|
||||
|
||||
<table width="100%" border="0">
|
||||
<tr><td valign="top">
|
||||
|
||||
<h3><a href="#class_details">Class Overview</a></h3>
|
||||
<pre>RuntimeException
|
||||
|
|
||||
--<a href="../Exceptions/WideImage_Exception.html">WideImage_Exception</a>
|
||||
|
|
||||
--WideImage_InvalidCanvasMethodException</pre><br />
|
||||
<div class="description"></div><br /><br />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<table width="100%" border="0"><tr>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<a name="class_details"></a>
|
||||
<h3>Class Details</h3>
|
||||
<div class="tags">
|
||||
[line 38]<br />
|
||||
</div><br /><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Sat, 19 Feb 2011 12:55:41 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,115 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Docs For Class WideImage_InvalidCoordinateException</title>
|
||||
<link rel="stylesheet" type="text/css" href="../media/style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
|
||||
<tr>
|
||||
<td class="header_top">Exceptions</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
<tr>
|
||||
<td class="header_menu">
|
||||
|
||||
|
||||
[ <a href="../classtrees_Exceptions.html" class="menu">class tree: Exceptions</a> ]
|
||||
[ <a href="../elementindex_Exceptions.html" class="menu">index: Exceptions</a> ]
|
||||
[ <a href="../elementindex.html" class="menu">all elements</a> ]
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
</table>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr valign="top">
|
||||
<td width="200" class="menu">
|
||||
<b>Packages:</b><br />
|
||||
<a href="../li_Exceptions.html">Exceptions</a><br />
|
||||
<a href="../li_Internal-Mappers.html">Internal-Mappers</a><br />
|
||||
<a href="../li_Internal-Operations.html">Internal-Operations</a><br />
|
||||
<a href="../li_Internals.html">Internals</a><br />
|
||||
<a href="../li_WideImage.html">WideImage</a><br />
|
||||
<br /><br />
|
||||
|
||||
|
||||
<b>Classes:</b><br />
|
||||
<div class="package">
|
||||
<a href="../Exceptions/WideImage_Exception.html">WideImage_Exception</a><br />
|
||||
<a href="../Exceptions/WideImage_GDFunctionResultException.html">WideImage_GDFunctionResultException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidCanvasMethodException.html">WideImage_InvalidCanvasMethodException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidCoordinateException.html">WideImage_InvalidCoordinateException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidFontFileException.html">WideImage_InvalidFontFileException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageDimensionException.html">WideImage_InvalidImageDimensionException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageHandleException.html">WideImage_InvalidImageHandleException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageSourceException.html">WideImage_InvalidImageSourceException</a><br />
|
||||
<a href="../Exceptions/WideImage_NoFontException.html">WideImage_NoFontException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnknownErrorWhileMappingException.html">WideImage_UnknownErrorWhileMappingException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnknownImageOperationException.html">WideImage_UnknownImageOperationException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnsupportedFormatException.html">WideImage_UnsupportedFormatException</a><br />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
|
||||
|
||||
<h1>Class: WideImage_InvalidCoordinateException</h1>
|
||||
Source Location: /Coordinate.php<br /><br />
|
||||
|
||||
|
||||
<table width="100%" border="0">
|
||||
<tr><td valign="top">
|
||||
|
||||
<h3><a href="#class_details">Class Overview</a></h3>
|
||||
<pre>RuntimeException
|
||||
|
|
||||
--<a href="../Exceptions/WideImage_Exception.html">WideImage_Exception</a>
|
||||
|
|
||||
--WideImage_InvalidCoordinateException</pre><br />
|
||||
<div class="description"></div><br /><br />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<table width="100%" border="0"><tr>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<a name="class_details"></a>
|
||||
<h3>Class Details</h3>
|
||||
<div class="tags">
|
||||
[line 29]<br />
|
||||
</div><br /><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Sat, 19 Feb 2011 12:55:41 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,115 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Docs For Class WideImage_InvalidFontFileException</title>
|
||||
<link rel="stylesheet" type="text/css" href="../media/style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
|
||||
<tr>
|
||||
<td class="header_top">Exceptions</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
<tr>
|
||||
<td class="header_menu">
|
||||
|
||||
|
||||
[ <a href="../classtrees_Exceptions.html" class="menu">class tree: Exceptions</a> ]
|
||||
[ <a href="../elementindex_Exceptions.html" class="menu">index: Exceptions</a> ]
|
||||
[ <a href="../elementindex.html" class="menu">all elements</a> ]
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
</table>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr valign="top">
|
||||
<td width="200" class="menu">
|
||||
<b>Packages:</b><br />
|
||||
<a href="../li_Exceptions.html">Exceptions</a><br />
|
||||
<a href="../li_Internal-Mappers.html">Internal-Mappers</a><br />
|
||||
<a href="../li_Internal-Operations.html">Internal-Operations</a><br />
|
||||
<a href="../li_Internals.html">Internals</a><br />
|
||||
<a href="../li_WideImage.html">WideImage</a><br />
|
||||
<br /><br />
|
||||
|
||||
|
||||
<b>Classes:</b><br />
|
||||
<div class="package">
|
||||
<a href="../Exceptions/WideImage_Exception.html">WideImage_Exception</a><br />
|
||||
<a href="../Exceptions/WideImage_GDFunctionResultException.html">WideImage_GDFunctionResultException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidCanvasMethodException.html">WideImage_InvalidCanvasMethodException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidCoordinateException.html">WideImage_InvalidCoordinateException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidFontFileException.html">WideImage_InvalidFontFileException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageDimensionException.html">WideImage_InvalidImageDimensionException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageHandleException.html">WideImage_InvalidImageHandleException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageSourceException.html">WideImage_InvalidImageSourceException</a><br />
|
||||
<a href="../Exceptions/WideImage_NoFontException.html">WideImage_NoFontException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnknownErrorWhileMappingException.html">WideImage_UnknownErrorWhileMappingException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnknownImageOperationException.html">WideImage_UnknownImageOperationException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnsupportedFormatException.html">WideImage_UnsupportedFormatException</a><br />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
|
||||
|
||||
<h1>Class: WideImage_InvalidFontFileException</h1>
|
||||
Source Location: /Canvas.php<br /><br />
|
||||
|
||||
|
||||
<table width="100%" border="0">
|
||||
<tr><td valign="top">
|
||||
|
||||
<h3><a href="#class_details">Class Overview</a></h3>
|
||||
<pre>RuntimeException
|
||||
|
|
||||
--<a href="../Exceptions/WideImage_Exception.html">WideImage_Exception</a>
|
||||
|
|
||||
--WideImage_InvalidFontFileException</pre><br />
|
||||
<div class="description"></div><br /><br />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<table width="100%" border="0"><tr>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<a name="class_details"></a>
|
||||
<h3>Class Details</h3>
|
||||
<div class="tags">
|
||||
[line 33]<br />
|
||||
</div><br /><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Sat, 19 Feb 2011 12:55:41 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,115 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Docs For Class WideImage_InvalidImageDimensionException</title>
|
||||
<link rel="stylesheet" type="text/css" href="../media/style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
|
||||
<tr>
|
||||
<td class="header_top">Exceptions</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
<tr>
|
||||
<td class="header_menu">
|
||||
|
||||
|
||||
[ <a href="../classtrees_Exceptions.html" class="menu">class tree: Exceptions</a> ]
|
||||
[ <a href="../elementindex_Exceptions.html" class="menu">index: Exceptions</a> ]
|
||||
[ <a href="../elementindex.html" class="menu">all elements</a> ]
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
</table>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr valign="top">
|
||||
<td width="200" class="menu">
|
||||
<b>Packages:</b><br />
|
||||
<a href="../li_Exceptions.html">Exceptions</a><br />
|
||||
<a href="../li_Internal-Mappers.html">Internal-Mappers</a><br />
|
||||
<a href="../li_Internal-Operations.html">Internal-Operations</a><br />
|
||||
<a href="../li_Internals.html">Internals</a><br />
|
||||
<a href="../li_WideImage.html">WideImage</a><br />
|
||||
<br /><br />
|
||||
|
||||
|
||||
<b>Classes:</b><br />
|
||||
<div class="package">
|
||||
<a href="../Exceptions/WideImage_Exception.html">WideImage_Exception</a><br />
|
||||
<a href="../Exceptions/WideImage_GDFunctionResultException.html">WideImage_GDFunctionResultException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidCanvasMethodException.html">WideImage_InvalidCanvasMethodException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidCoordinateException.html">WideImage_InvalidCoordinateException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidFontFileException.html">WideImage_InvalidFontFileException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageDimensionException.html">WideImage_InvalidImageDimensionException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageHandleException.html">WideImage_InvalidImageHandleException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageSourceException.html">WideImage_InvalidImageSourceException</a><br />
|
||||
<a href="../Exceptions/WideImage_NoFontException.html">WideImage_NoFontException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnknownErrorWhileMappingException.html">WideImage_UnknownErrorWhileMappingException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnknownImageOperationException.html">WideImage_UnknownImageOperationException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnsupportedFormatException.html">WideImage_UnsupportedFormatException</a><br />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
|
||||
|
||||
<h1>Class: WideImage_InvalidImageDimensionException</h1>
|
||||
Source Location: /Image.php<br /><br />
|
||||
|
||||
|
||||
<table width="100%" border="0">
|
||||
<tr><td valign="top">
|
||||
|
||||
<h3><a href="#class_details">Class Overview</a></h3>
|
||||
<pre>RuntimeException
|
||||
|
|
||||
--<a href="../Exceptions/WideImage_Exception.html">WideImage_Exception</a>
|
||||
|
|
||||
--WideImage_InvalidImageDimensionException</pre><br />
|
||||
<div class="description">Thrown when an invalid dimension is passed for some operations</div><br /><br />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<table width="100%" border="0"><tr>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<a name="class_details"></a>
|
||||
<h3>Class Details</h3>
|
||||
<div class="tags">
|
||||
[line 30]<br />
|
||||
Thrown when an invalid dimension is passed for some operations<br /><br /></div><br /><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Sat, 19 Feb 2011 12:55:42 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,115 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Docs For Class WideImage_InvalidImageHandleException</title>
|
||||
<link rel="stylesheet" type="text/css" href="../media/style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
|
||||
<tr>
|
||||
<td class="header_top">Exceptions</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
<tr>
|
||||
<td class="header_menu">
|
||||
|
||||
|
||||
[ <a href="../classtrees_Exceptions.html" class="menu">class tree: Exceptions</a> ]
|
||||
[ <a href="../elementindex_Exceptions.html" class="menu">index: Exceptions</a> ]
|
||||
[ <a href="../elementindex.html" class="menu">all elements</a> ]
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
</table>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr valign="top">
|
||||
<td width="200" class="menu">
|
||||
<b>Packages:</b><br />
|
||||
<a href="../li_Exceptions.html">Exceptions</a><br />
|
||||
<a href="../li_Internal-Mappers.html">Internal-Mappers</a><br />
|
||||
<a href="../li_Internal-Operations.html">Internal-Operations</a><br />
|
||||
<a href="../li_Internals.html">Internals</a><br />
|
||||
<a href="../li_WideImage.html">WideImage</a><br />
|
||||
<br /><br />
|
||||
|
||||
|
||||
<b>Classes:</b><br />
|
||||
<div class="package">
|
||||
<a href="../Exceptions/WideImage_Exception.html">WideImage_Exception</a><br />
|
||||
<a href="../Exceptions/WideImage_GDFunctionResultException.html">WideImage_GDFunctionResultException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidCanvasMethodException.html">WideImage_InvalidCanvasMethodException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidCoordinateException.html">WideImage_InvalidCoordinateException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidFontFileException.html">WideImage_InvalidFontFileException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageDimensionException.html">WideImage_InvalidImageDimensionException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageHandleException.html">WideImage_InvalidImageHandleException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageSourceException.html">WideImage_InvalidImageSourceException</a><br />
|
||||
<a href="../Exceptions/WideImage_NoFontException.html">WideImage_NoFontException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnknownErrorWhileMappingException.html">WideImage_UnknownErrorWhileMappingException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnknownImageOperationException.html">WideImage_UnknownImageOperationException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnsupportedFormatException.html">WideImage_UnsupportedFormatException</a><br />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
|
||||
|
||||
<h1>Class: WideImage_InvalidImageHandleException</h1>
|
||||
Source Location: /WideImage.php<br /><br />
|
||||
|
||||
|
||||
<table width="100%" border="0">
|
||||
<tr><td valign="top">
|
||||
|
||||
<h3><a href="#class_details">Class Overview</a></h3>
|
||||
<pre>RuntimeException
|
||||
|
|
||||
--<a href="../Exceptions/WideImage_Exception.html">WideImage_Exception</a>
|
||||
|
|
||||
--WideImage_InvalidImageHandleException</pre><br />
|
||||
<div class="description"></div><br /><br />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<table width="100%" border="0"><tr>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<a name="class_details"></a>
|
||||
<h3>Class Details</h3>
|
||||
<div class="tags">
|
||||
[line 43]<br />
|
||||
</div><br /><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Sat, 19 Feb 2011 12:55:43 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,115 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Docs For Class WideImage_InvalidImageSourceException</title>
|
||||
<link rel="stylesheet" type="text/css" href="../media/style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
|
||||
<tr>
|
||||
<td class="header_top">Exceptions</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
<tr>
|
||||
<td class="header_menu">
|
||||
|
||||
|
||||
[ <a href="../classtrees_Exceptions.html" class="menu">class tree: Exceptions</a> ]
|
||||
[ <a href="../elementindex_Exceptions.html" class="menu">index: Exceptions</a> ]
|
||||
[ <a href="../elementindex.html" class="menu">all elements</a> ]
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
</table>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr valign="top">
|
||||
<td width="200" class="menu">
|
||||
<b>Packages:</b><br />
|
||||
<a href="../li_Exceptions.html">Exceptions</a><br />
|
||||
<a href="../li_Internal-Mappers.html">Internal-Mappers</a><br />
|
||||
<a href="../li_Internal-Operations.html">Internal-Operations</a><br />
|
||||
<a href="../li_Internals.html">Internals</a><br />
|
||||
<a href="../li_WideImage.html">WideImage</a><br />
|
||||
<br /><br />
|
||||
|
||||
|
||||
<b>Classes:</b><br />
|
||||
<div class="package">
|
||||
<a href="../Exceptions/WideImage_Exception.html">WideImage_Exception</a><br />
|
||||
<a href="../Exceptions/WideImage_GDFunctionResultException.html">WideImage_GDFunctionResultException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidCanvasMethodException.html">WideImage_InvalidCanvasMethodException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidCoordinateException.html">WideImage_InvalidCoordinateException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidFontFileException.html">WideImage_InvalidFontFileException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageDimensionException.html">WideImage_InvalidImageDimensionException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageHandleException.html">WideImage_InvalidImageHandleException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageSourceException.html">WideImage_InvalidImageSourceException</a><br />
|
||||
<a href="../Exceptions/WideImage_NoFontException.html">WideImage_NoFontException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnknownErrorWhileMappingException.html">WideImage_UnknownErrorWhileMappingException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnknownImageOperationException.html">WideImage_UnknownImageOperationException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnsupportedFormatException.html">WideImage_UnsupportedFormatException</a><br />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
|
||||
|
||||
<h1>Class: WideImage_InvalidImageSourceException</h1>
|
||||
Source Location: /WideImage.php<br /><br />
|
||||
|
||||
|
||||
<table width="100%" border="0">
|
||||
<tr><td valign="top">
|
||||
|
||||
<h3><a href="#class_details">Class Overview</a></h3>
|
||||
<pre>RuntimeException
|
||||
|
|
||||
--<a href="../Exceptions/WideImage_Exception.html">WideImage_Exception</a>
|
||||
|
|
||||
--WideImage_InvalidImageSourceException</pre><br />
|
||||
<div class="description"></div><br /><br />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<table width="100%" border="0"><tr>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<a name="class_details"></a>
|
||||
<h3>Class Details</h3>
|
||||
<div class="tags">
|
||||
[line 48]<br />
|
||||
</div><br /><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Sat, 19 Feb 2011 12:55:43 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,115 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Docs For Class WideImage_NoFontException</title>
|
||||
<link rel="stylesheet" type="text/css" href="../media/style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
|
||||
<tr>
|
||||
<td class="header_top">Exceptions</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
<tr>
|
||||
<td class="header_menu">
|
||||
|
||||
|
||||
[ <a href="../classtrees_Exceptions.html" class="menu">class tree: Exceptions</a> ]
|
||||
[ <a href="../elementindex_Exceptions.html" class="menu">index: Exceptions</a> ]
|
||||
[ <a href="../elementindex.html" class="menu">all elements</a> ]
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
</table>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr valign="top">
|
||||
<td width="200" class="menu">
|
||||
<b>Packages:</b><br />
|
||||
<a href="../li_Exceptions.html">Exceptions</a><br />
|
||||
<a href="../li_Internal-Mappers.html">Internal-Mappers</a><br />
|
||||
<a href="../li_Internal-Operations.html">Internal-Operations</a><br />
|
||||
<a href="../li_Internals.html">Internals</a><br />
|
||||
<a href="../li_WideImage.html">WideImage</a><br />
|
||||
<br /><br />
|
||||
|
||||
|
||||
<b>Classes:</b><br />
|
||||
<div class="package">
|
||||
<a href="../Exceptions/WideImage_Exception.html">WideImage_Exception</a><br />
|
||||
<a href="../Exceptions/WideImage_GDFunctionResultException.html">WideImage_GDFunctionResultException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidCanvasMethodException.html">WideImage_InvalidCanvasMethodException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidCoordinateException.html">WideImage_InvalidCoordinateException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidFontFileException.html">WideImage_InvalidFontFileException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageDimensionException.html">WideImage_InvalidImageDimensionException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageHandleException.html">WideImage_InvalidImageHandleException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageSourceException.html">WideImage_InvalidImageSourceException</a><br />
|
||||
<a href="../Exceptions/WideImage_NoFontException.html">WideImage_NoFontException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnknownErrorWhileMappingException.html">WideImage_UnknownErrorWhileMappingException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnknownImageOperationException.html">WideImage_UnknownImageOperationException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnsupportedFormatException.html">WideImage_UnsupportedFormatException</a><br />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
|
||||
|
||||
<h1>Class: WideImage_NoFontException</h1>
|
||||
Source Location: /Canvas.php<br /><br />
|
||||
|
||||
|
||||
<table width="100%" border="0">
|
||||
<tr><td valign="top">
|
||||
|
||||
<h3><a href="#class_details">Class Overview</a></h3>
|
||||
<pre>RuntimeException
|
||||
|
|
||||
--<a href="../Exceptions/WideImage_Exception.html">WideImage_Exception</a>
|
||||
|
|
||||
--WideImage_NoFontException</pre><br />
|
||||
<div class="description"></div><br /><br />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<table width="100%" border="0"><tr>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<a name="class_details"></a>
|
||||
<h3>Class Details</h3>
|
||||
<div class="tags">
|
||||
[line 28]<br />
|
||||
</div><br /><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Sat, 19 Feb 2011 12:55:41 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,115 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Docs For Class WideImage_UnknownErrorWhileMappingException</title>
|
||||
<link rel="stylesheet" type="text/css" href="../media/style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
|
||||
<tr>
|
||||
<td class="header_top">Exceptions</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
<tr>
|
||||
<td class="header_menu">
|
||||
|
||||
|
||||
[ <a href="../classtrees_Exceptions.html" class="menu">class tree: Exceptions</a> ]
|
||||
[ <a href="../elementindex_Exceptions.html" class="menu">index: Exceptions</a> ]
|
||||
[ <a href="../elementindex.html" class="menu">all elements</a> ]
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
</table>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr valign="top">
|
||||
<td width="200" class="menu">
|
||||
<b>Packages:</b><br />
|
||||
<a href="../li_Exceptions.html">Exceptions</a><br />
|
||||
<a href="../li_Internal-Mappers.html">Internal-Mappers</a><br />
|
||||
<a href="../li_Internal-Operations.html">Internal-Operations</a><br />
|
||||
<a href="../li_Internals.html">Internals</a><br />
|
||||
<a href="../li_WideImage.html">WideImage</a><br />
|
||||
<br /><br />
|
||||
|
||||
|
||||
<b>Classes:</b><br />
|
||||
<div class="package">
|
||||
<a href="../Exceptions/WideImage_Exception.html">WideImage_Exception</a><br />
|
||||
<a href="../Exceptions/WideImage_GDFunctionResultException.html">WideImage_GDFunctionResultException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidCanvasMethodException.html">WideImage_InvalidCanvasMethodException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidCoordinateException.html">WideImage_InvalidCoordinateException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidFontFileException.html">WideImage_InvalidFontFileException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageDimensionException.html">WideImage_InvalidImageDimensionException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageHandleException.html">WideImage_InvalidImageHandleException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageSourceException.html">WideImage_InvalidImageSourceException</a><br />
|
||||
<a href="../Exceptions/WideImage_NoFontException.html">WideImage_NoFontException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnknownErrorWhileMappingException.html">WideImage_UnknownErrorWhileMappingException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnknownImageOperationException.html">WideImage_UnknownImageOperationException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnsupportedFormatException.html">WideImage_UnsupportedFormatException</a><br />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
|
||||
|
||||
<h1>Class: WideImage_UnknownErrorWhileMappingException</h1>
|
||||
Source Location: /Image.php<br /><br />
|
||||
|
||||
|
||||
<table width="100%" border="0">
|
||||
<tr><td valign="top">
|
||||
|
||||
<h3><a href="#class_details">Class Overview</a></h3>
|
||||
<pre>RuntimeException
|
||||
|
|
||||
--<a href="../Exceptions/WideImage_Exception.html">WideImage_Exception</a>
|
||||
|
|
||||
--WideImage_UnknownErrorWhileMappingException</pre><br />
|
||||
<div class="description">Thrown when an image can't be saved (returns false by the mapper)</div><br /><br />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<table width="100%" border="0"><tr>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<a name="class_details"></a>
|
||||
<h3>Class Details</h3>
|
||||
<div class="tags">
|
||||
[line 37]<br />
|
||||
Thrown when an image can't be saved (returns false by the mapper)<br /><br /></div><br /><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Sat, 19 Feb 2011 12:55:42 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,115 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Docs For Class WideImage_UnknownImageOperationException</title>
|
||||
<link rel="stylesheet" type="text/css" href="../media/style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
|
||||
<tr>
|
||||
<td class="header_top">Exceptions</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
<tr>
|
||||
<td class="header_menu">
|
||||
|
||||
|
||||
[ <a href="../classtrees_Exceptions.html" class="menu">class tree: Exceptions</a> ]
|
||||
[ <a href="../elementindex_Exceptions.html" class="menu">index: Exceptions</a> ]
|
||||
[ <a href="../elementindex.html" class="menu">all elements</a> ]
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
</table>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr valign="top">
|
||||
<td width="200" class="menu">
|
||||
<b>Packages:</b><br />
|
||||
<a href="../li_Exceptions.html">Exceptions</a><br />
|
||||
<a href="../li_Internal-Mappers.html">Internal-Mappers</a><br />
|
||||
<a href="../li_Internal-Operations.html">Internal-Operations</a><br />
|
||||
<a href="../li_Internals.html">Internals</a><br />
|
||||
<a href="../li_WideImage.html">WideImage</a><br />
|
||||
<br /><br />
|
||||
|
||||
|
||||
<b>Classes:</b><br />
|
||||
<div class="package">
|
||||
<a href="../Exceptions/WideImage_Exception.html">WideImage_Exception</a><br />
|
||||
<a href="../Exceptions/WideImage_GDFunctionResultException.html">WideImage_GDFunctionResultException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidCanvasMethodException.html">WideImage_InvalidCanvasMethodException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidCoordinateException.html">WideImage_InvalidCoordinateException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidFontFileException.html">WideImage_InvalidFontFileException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageDimensionException.html">WideImage_InvalidImageDimensionException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageHandleException.html">WideImage_InvalidImageHandleException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageSourceException.html">WideImage_InvalidImageSourceException</a><br />
|
||||
<a href="../Exceptions/WideImage_NoFontException.html">WideImage_NoFontException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnknownErrorWhileMappingException.html">WideImage_UnknownErrorWhileMappingException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnknownImageOperationException.html">WideImage_UnknownImageOperationException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnsupportedFormatException.html">WideImage_UnsupportedFormatException</a><br />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
|
||||
|
||||
<h1>Class: WideImage_UnknownImageOperationException</h1>
|
||||
Source Location: /OperationFactory.php<br /><br />
|
||||
|
||||
|
||||
<table width="100%" border="0">
|
||||
<tr><td valign="top">
|
||||
|
||||
<h3><a href="#class_details">Class Overview</a></h3>
|
||||
<pre>RuntimeException
|
||||
|
|
||||
--<a href="../Exceptions/WideImage_Exception.html">WideImage_Exception</a>
|
||||
|
|
||||
--WideImage_UnknownImageOperationException</pre><br />
|
||||
<div class="description"></div><br /><br />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<table width="100%" border="0"><tr>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<a name="class_details"></a>
|
||||
<h3>Class Details</h3>
|
||||
<div class="tags">
|
||||
[line 28]<br />
|
||||
</div><br /><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Sat, 19 Feb 2011 12:55:42 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,115 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Docs For Class WideImage_UnsupportedFormatException</title>
|
||||
<link rel="stylesheet" type="text/css" href="../media/style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
|
||||
<tr>
|
||||
<td class="header_top">Exceptions</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
<tr>
|
||||
<td class="header_menu">
|
||||
|
||||
|
||||
[ <a href="../classtrees_Exceptions.html" class="menu">class tree: Exceptions</a> ]
|
||||
[ <a href="../elementindex_Exceptions.html" class="menu">index: Exceptions</a> ]
|
||||
[ <a href="../elementindex.html" class="menu">all elements</a> ]
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
</table>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr valign="top">
|
||||
<td width="200" class="menu">
|
||||
<b>Packages:</b><br />
|
||||
<a href="../li_Exceptions.html">Exceptions</a><br />
|
||||
<a href="../li_Internal-Mappers.html">Internal-Mappers</a><br />
|
||||
<a href="../li_Internal-Operations.html">Internal-Operations</a><br />
|
||||
<a href="../li_Internals.html">Internals</a><br />
|
||||
<a href="../li_WideImage.html">WideImage</a><br />
|
||||
<br /><br />
|
||||
|
||||
|
||||
<b>Classes:</b><br />
|
||||
<div class="package">
|
||||
<a href="../Exceptions/WideImage_Exception.html">WideImage_Exception</a><br />
|
||||
<a href="../Exceptions/WideImage_GDFunctionResultException.html">WideImage_GDFunctionResultException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidCanvasMethodException.html">WideImage_InvalidCanvasMethodException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidCoordinateException.html">WideImage_InvalidCoordinateException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidFontFileException.html">WideImage_InvalidFontFileException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageDimensionException.html">WideImage_InvalidImageDimensionException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageHandleException.html">WideImage_InvalidImageHandleException</a><br />
|
||||
<a href="../Exceptions/WideImage_InvalidImageSourceException.html">WideImage_InvalidImageSourceException</a><br />
|
||||
<a href="../Exceptions/WideImage_NoFontException.html">WideImage_NoFontException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnknownErrorWhileMappingException.html">WideImage_UnknownErrorWhileMappingException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnknownImageOperationException.html">WideImage_UnknownImageOperationException</a><br />
|
||||
<a href="../Exceptions/WideImage_UnsupportedFormatException.html">WideImage_UnsupportedFormatException</a><br />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
|
||||
|
||||
<h1>Class: WideImage_UnsupportedFormatException</h1>
|
||||
Source Location: /MapperFactory.php<br /><br />
|
||||
|
||||
|
||||
<table width="100%" border="0">
|
||||
<tr><td valign="top">
|
||||
|
||||
<h3><a href="#class_details">Class Overview</a></h3>
|
||||
<pre>RuntimeException
|
||||
|
|
||||
--<a href="../Exceptions/WideImage_Exception.html">WideImage_Exception</a>
|
||||
|
|
||||
--WideImage_UnsupportedFormatException</pre><br />
|
||||
<div class="description">Thrown when image format isn't supported</div><br /><br />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<table width="100%" border="0"><tr>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<a name="class_details"></a>
|
||||
<h3>Class Details</h3>
|
||||
<div class="tags">
|
||||
[line 30]<br />
|
||||
Thrown when image format isn't supported<br /><br /></div><br /><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Sat, 19 Feb 2011 12:55:42 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,230 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Docs For Class WideImage_Mapper_BMP</title>
|
||||
<link rel="stylesheet" type="text/css" href="../media/style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
|
||||
<tr>
|
||||
<td class="header_top">Internal-Mappers</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
<tr>
|
||||
<td class="header_menu">
|
||||
|
||||
|
||||
[ <a href="../classtrees_Internal-Mappers.html" class="menu">class tree: Internal-Mappers</a> ]
|
||||
[ <a href="../elementindex_Internal-Mappers.html" class="menu">index: Internal-Mappers</a> ]
|
||||
[ <a href="../elementindex.html" class="menu">all elements</a> ]
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
</table>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr valign="top">
|
||||
<td width="200" class="menu">
|
||||
<b>Packages:</b><br />
|
||||
<a href="../li_Exceptions.html">Exceptions</a><br />
|
||||
<a href="../li_Internal-Mappers.html">Internal-Mappers</a><br />
|
||||
<a href="../li_Internal-Operations.html">Internal-Operations</a><br />
|
||||
<a href="../li_Internals.html">Internals</a><br />
|
||||
<a href="../li_WideImage.html">WideImage</a><br />
|
||||
<br /><br />
|
||||
<b>Files:</b><br />
|
||||
<div class="package">
|
||||
<a href="../Internal-Mappers/_vendor---de77---BMP.php.html"> BMP.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---BMP.php.html"> BMP.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---GD.php.html"> GD.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---GD2.php.html"> GD2.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---GIF.php.html"> GIF.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---JPEG.php.html"> JPEG.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---PNG.php.html"> PNG.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---TGA.php.html"> TGA.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_vendor---de77---TGA.php.html"> TGA.php
|
||||
</a><br>
|
||||
</div><br />
|
||||
|
||||
|
||||
<b>Classes:</b><br />
|
||||
<div class="package">
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_BMP.html">WideImage_Mapper_BMP</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_GD.html">WideImage_Mapper_GD</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_GD2.html">WideImage_Mapper_GD2</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_GIF.html">WideImage_Mapper_GIF</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_JPEG.html">WideImage_Mapper_JPEG</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_PNG.html">WideImage_Mapper_PNG</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_TGA.html">WideImage_Mapper_TGA</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_vendor_de77_BMP.html">WideImage_vendor_de77_BMP</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_vendor_de77_TGA.html">WideImage_vendor_de77_TGA</a><br />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
|
||||
|
||||
<h1>Class: WideImage_Mapper_BMP</h1>
|
||||
Source Location: /Mapper/BMP.php<br /><br />
|
||||
|
||||
|
||||
<table width="100%" border="0">
|
||||
<tr><td valign="top">
|
||||
|
||||
<h3><a href="#class_details">Class Overview</a></h3>
|
||||
<pre></pre><br />
|
||||
<div class="description">Mapper support for BMP</div><br /><br />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
<td valign="top">
|
||||
<h3><a href="#class_methods">Methods</a></h3>
|
||||
<ul>
|
||||
<li><a href="../Internal-Mappers/WideImage_Mapper_BMP.html#methodload">load</a></li>
|
||||
<li><a href="../Internal-Mappers/WideImage_Mapper_BMP.html#methodloadFromString">loadFromString</a></li>
|
||||
<li><a href="../Internal-Mappers/WideImage_Mapper_BMP.html#methodsave">save</a></li>
|
||||
</ul>
|
||||
</td>
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<table width="100%" border="0"><tr>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<a name="class_details"></a>
|
||||
<h3>Class Details</h3>
|
||||
<div class="tags">
|
||||
[line 32]<br />
|
||||
Mapper support for BMP<br /><br /></div><br /><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
||||
|
||||
|
||||
<hr />
|
||||
<a name="class_methods"></a>
|
||||
<h3>Class Methods</h3>
|
||||
<div class="tags">
|
||||
|
||||
<hr />
|
||||
<a name="methodload"></a>
|
||||
<h3>method load <span class="smalllinenumber">[line 34]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
<code>void load(
|
||||
|
||||
$uri)</code>
|
||||
</td></tr></table>
|
||||
</td></tr></table><br />
|
||||
|
||||
<br /><br />
|
||||
|
||||
|
||||
<h4>Parameters:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="type"> </td>
|
||||
<td><b>$uri</b> </td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodloadFromString"></a>
|
||||
<h3>method loadFromString <span class="smalllinenumber">[line 39]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
<code>void loadFromString(
|
||||
|
||||
$data)</code>
|
||||
</td></tr></table>
|
||||
</td></tr></table><br />
|
||||
|
||||
<br /><br />
|
||||
|
||||
|
||||
<h4>Parameters:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="type"> </td>
|
||||
<td><b>$data</b> </td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodsave"></a>
|
||||
<h3>method save <span class="smalllinenumber">[line 44]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
<code>void save(
|
||||
|
||||
$handle, [
|
||||
$uri = null])</code>
|
||||
</td></tr></table>
|
||||
</td></tr></table><br />
|
||||
|
||||
<br /><br />
|
||||
|
||||
|
||||
<h4>Parameters:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="type"> </td>
|
||||
<td><b>$handle</b> </td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="type"> </td>
|
||||
<td><b>$uri</b> </td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||||
</div>
|
||||
</div><br />
|
||||
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Sat, 19 Feb 2011 12:55:41 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,202 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Docs For Class WideImage_Mapper_GD</title>
|
||||
<link rel="stylesheet" type="text/css" href="../media/style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
|
||||
<tr>
|
||||
<td class="header_top">Internal-Mappers</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
<tr>
|
||||
<td class="header_menu">
|
||||
|
||||
|
||||
[ <a href="../classtrees_Internal-Mappers.html" class="menu">class tree: Internal-Mappers</a> ]
|
||||
[ <a href="../elementindex_Internal-Mappers.html" class="menu">index: Internal-Mappers</a> ]
|
||||
[ <a href="../elementindex.html" class="menu">all elements</a> ]
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
</table>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr valign="top">
|
||||
<td width="200" class="menu">
|
||||
<b>Packages:</b><br />
|
||||
<a href="../li_Exceptions.html">Exceptions</a><br />
|
||||
<a href="../li_Internal-Mappers.html">Internal-Mappers</a><br />
|
||||
<a href="../li_Internal-Operations.html">Internal-Operations</a><br />
|
||||
<a href="../li_Internals.html">Internals</a><br />
|
||||
<a href="../li_WideImage.html">WideImage</a><br />
|
||||
<br /><br />
|
||||
<b>Files:</b><br />
|
||||
<div class="package">
|
||||
<a href="../Internal-Mappers/_vendor---de77---BMP.php.html"> BMP.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---BMP.php.html"> BMP.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---GD.php.html"> GD.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---GD2.php.html"> GD2.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---GIF.php.html"> GIF.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---JPEG.php.html"> JPEG.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---PNG.php.html"> PNG.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---TGA.php.html"> TGA.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_vendor---de77---TGA.php.html"> TGA.php
|
||||
</a><br>
|
||||
</div><br />
|
||||
|
||||
|
||||
<b>Classes:</b><br />
|
||||
<div class="package">
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_BMP.html">WideImage_Mapper_BMP</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_GD.html">WideImage_Mapper_GD</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_GD2.html">WideImage_Mapper_GD2</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_GIF.html">WideImage_Mapper_GIF</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_JPEG.html">WideImage_Mapper_JPEG</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_PNG.html">WideImage_Mapper_PNG</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_TGA.html">WideImage_Mapper_TGA</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_vendor_de77_BMP.html">WideImage_vendor_de77_BMP</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_vendor_de77_TGA.html">WideImage_vendor_de77_TGA</a><br />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
|
||||
|
||||
<h1>Class: WideImage_Mapper_GD</h1>
|
||||
Source Location: /Mapper/GD.php<br /><br />
|
||||
|
||||
|
||||
<table width="100%" border="0">
|
||||
<tr><td valign="top">
|
||||
|
||||
<h3><a href="#class_details">Class Overview</a></h3>
|
||||
<pre></pre><br />
|
||||
<div class="description">Mapper class for GD files</div><br /><br />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
<td valign="top">
|
||||
<h3><a href="#class_methods">Methods</a></h3>
|
||||
<ul>
|
||||
<li><a href="../Internal-Mappers/WideImage_Mapper_GD.html#methodload">load</a></li>
|
||||
<li><a href="../Internal-Mappers/WideImage_Mapper_GD.html#methodsave">save</a></li>
|
||||
</ul>
|
||||
</td>
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<table width="100%" border="0"><tr>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<a name="class_details"></a>
|
||||
<h3>Class Details</h3>
|
||||
<div class="tags">
|
||||
[line 30]<br />
|
||||
Mapper class for GD files<br /><br /></div><br /><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
||||
|
||||
|
||||
<hr />
|
||||
<a name="class_methods"></a>
|
||||
<h3>Class Methods</h3>
|
||||
<div class="tags">
|
||||
|
||||
<hr />
|
||||
<a name="methodload"></a>
|
||||
<h3>method load <span class="smalllinenumber">[line 32]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
<code>void load(
|
||||
|
||||
$uri)</code>
|
||||
</td></tr></table>
|
||||
</td></tr></table><br />
|
||||
|
||||
<br /><br />
|
||||
|
||||
|
||||
<h4>Parameters:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="type"> </td>
|
||||
<td><b>$uri</b> </td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodsave"></a>
|
||||
<h3>method save <span class="smalllinenumber">[line 37]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
<code>void save(
|
||||
|
||||
$handle, [
|
||||
$uri = null])</code>
|
||||
</td></tr></table>
|
||||
</td></tr></table><br />
|
||||
|
||||
<br /><br />
|
||||
|
||||
|
||||
<h4>Parameters:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="type"> </td>
|
||||
<td><b>$handle</b> </td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="type"> </td>
|
||||
<td><b>$uri</b> </td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||||
</div>
|
||||
</div><br />
|
||||
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Sat, 19 Feb 2011 12:55:42 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,214 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Docs For Class WideImage_Mapper_GD2</title>
|
||||
<link rel="stylesheet" type="text/css" href="../media/style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
|
||||
<tr>
|
||||
<td class="header_top">Internal-Mappers</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
<tr>
|
||||
<td class="header_menu">
|
||||
|
||||
|
||||
[ <a href="../classtrees_Internal-Mappers.html" class="menu">class tree: Internal-Mappers</a> ]
|
||||
[ <a href="../elementindex_Internal-Mappers.html" class="menu">index: Internal-Mappers</a> ]
|
||||
[ <a href="../elementindex.html" class="menu">all elements</a> ]
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
</table>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr valign="top">
|
||||
<td width="200" class="menu">
|
||||
<b>Packages:</b><br />
|
||||
<a href="../li_Exceptions.html">Exceptions</a><br />
|
||||
<a href="../li_Internal-Mappers.html">Internal-Mappers</a><br />
|
||||
<a href="../li_Internal-Operations.html">Internal-Operations</a><br />
|
||||
<a href="../li_Internals.html">Internals</a><br />
|
||||
<a href="../li_WideImage.html">WideImage</a><br />
|
||||
<br /><br />
|
||||
<b>Files:</b><br />
|
||||
<div class="package">
|
||||
<a href="../Internal-Mappers/_vendor---de77---BMP.php.html"> BMP.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---BMP.php.html"> BMP.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---GD.php.html"> GD.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---GD2.php.html"> GD2.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---GIF.php.html"> GIF.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---JPEG.php.html"> JPEG.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---PNG.php.html"> PNG.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---TGA.php.html"> TGA.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_vendor---de77---TGA.php.html"> TGA.php
|
||||
</a><br>
|
||||
</div><br />
|
||||
|
||||
|
||||
<b>Classes:</b><br />
|
||||
<div class="package">
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_BMP.html">WideImage_Mapper_BMP</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_GD.html">WideImage_Mapper_GD</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_GD2.html">WideImage_Mapper_GD2</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_GIF.html">WideImage_Mapper_GIF</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_JPEG.html">WideImage_Mapper_JPEG</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_PNG.html">WideImage_Mapper_PNG</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_TGA.html">WideImage_Mapper_TGA</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_vendor_de77_BMP.html">WideImage_vendor_de77_BMP</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_vendor_de77_TGA.html">WideImage_vendor_de77_TGA</a><br />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
|
||||
|
||||
<h1>Class: WideImage_Mapper_GD2</h1>
|
||||
Source Location: /Mapper/GD2.php<br /><br />
|
||||
|
||||
|
||||
<table width="100%" border="0">
|
||||
<tr><td valign="top">
|
||||
|
||||
<h3><a href="#class_details">Class Overview</a></h3>
|
||||
<pre></pre><br />
|
||||
<div class="description">Mapper class for GD2 files</div><br /><br />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
<td valign="top">
|
||||
<h3><a href="#class_methods">Methods</a></h3>
|
||||
<ul>
|
||||
<li><a href="../Internal-Mappers/WideImage_Mapper_GD2.html#methodload">load</a></li>
|
||||
<li><a href="../Internal-Mappers/WideImage_Mapper_GD2.html#methodsave">save</a></li>
|
||||
</ul>
|
||||
</td>
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<table width="100%" border="0"><tr>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<a name="class_details"></a>
|
||||
<h3>Class Details</h3>
|
||||
<div class="tags">
|
||||
[line 30]<br />
|
||||
Mapper class for GD2 files<br /><br /></div><br /><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
||||
|
||||
|
||||
<hr />
|
||||
<a name="class_methods"></a>
|
||||
<h3>Class Methods</h3>
|
||||
<div class="tags">
|
||||
|
||||
<hr />
|
||||
<a name="methodload"></a>
|
||||
<h3>method load <span class="smalllinenumber">[line 32]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
<code>void load(
|
||||
|
||||
$uri)</code>
|
||||
</td></tr></table>
|
||||
</td></tr></table><br />
|
||||
|
||||
<br /><br />
|
||||
|
||||
|
||||
<h4>Parameters:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="type"> </td>
|
||||
<td><b>$uri</b> </td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodsave"></a>
|
||||
<h3>method save <span class="smalllinenumber">[line 37]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
<code>void save(
|
||||
|
||||
$handle, [
|
||||
$uri = null], [
|
||||
$chunk_size = null], [
|
||||
$type = null])</code>
|
||||
</td></tr></table>
|
||||
</td></tr></table><br />
|
||||
|
||||
<br /><br />
|
||||
|
||||
|
||||
<h4>Parameters:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="type"> </td>
|
||||
<td><b>$handle</b> </td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="type"> </td>
|
||||
<td><b>$uri</b> </td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="type"> </td>
|
||||
<td><b>$chunk_size</b> </td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="type"> </td>
|
||||
<td><b>$type</b> </td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||||
</div>
|
||||
</div><br />
|
||||
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Sat, 19 Feb 2011 12:55:42 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,202 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Docs For Class WideImage_Mapper_GIF</title>
|
||||
<link rel="stylesheet" type="text/css" href="../media/style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
|
||||
<tr>
|
||||
<td class="header_top">Internal-Mappers</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
<tr>
|
||||
<td class="header_menu">
|
||||
|
||||
|
||||
[ <a href="../classtrees_Internal-Mappers.html" class="menu">class tree: Internal-Mappers</a> ]
|
||||
[ <a href="../elementindex_Internal-Mappers.html" class="menu">index: Internal-Mappers</a> ]
|
||||
[ <a href="../elementindex.html" class="menu">all elements</a> ]
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
</table>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr valign="top">
|
||||
<td width="200" class="menu">
|
||||
<b>Packages:</b><br />
|
||||
<a href="../li_Exceptions.html">Exceptions</a><br />
|
||||
<a href="../li_Internal-Mappers.html">Internal-Mappers</a><br />
|
||||
<a href="../li_Internal-Operations.html">Internal-Operations</a><br />
|
||||
<a href="../li_Internals.html">Internals</a><br />
|
||||
<a href="../li_WideImage.html">WideImage</a><br />
|
||||
<br /><br />
|
||||
<b>Files:</b><br />
|
||||
<div class="package">
|
||||
<a href="../Internal-Mappers/_vendor---de77---BMP.php.html"> BMP.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---BMP.php.html"> BMP.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---GD.php.html"> GD.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---GD2.php.html"> GD2.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---GIF.php.html"> GIF.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---JPEG.php.html"> JPEG.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---PNG.php.html"> PNG.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---TGA.php.html"> TGA.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_vendor---de77---TGA.php.html"> TGA.php
|
||||
</a><br>
|
||||
</div><br />
|
||||
|
||||
|
||||
<b>Classes:</b><br />
|
||||
<div class="package">
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_BMP.html">WideImage_Mapper_BMP</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_GD.html">WideImage_Mapper_GD</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_GD2.html">WideImage_Mapper_GD2</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_GIF.html">WideImage_Mapper_GIF</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_JPEG.html">WideImage_Mapper_JPEG</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_PNG.html">WideImage_Mapper_PNG</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_TGA.html">WideImage_Mapper_TGA</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_vendor_de77_BMP.html">WideImage_vendor_de77_BMP</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_vendor_de77_TGA.html">WideImage_vendor_de77_TGA</a><br />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
|
||||
|
||||
<h1>Class: WideImage_Mapper_GIF</h1>
|
||||
Source Location: /Mapper/GIF.php<br /><br />
|
||||
|
||||
|
||||
<table width="100%" border="0">
|
||||
<tr><td valign="top">
|
||||
|
||||
<h3><a href="#class_details">Class Overview</a></h3>
|
||||
<pre></pre><br />
|
||||
<div class="description">Mapper class for GIF files</div><br /><br />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
<td valign="top">
|
||||
<h3><a href="#class_methods">Methods</a></h3>
|
||||
<ul>
|
||||
<li><a href="../Internal-Mappers/WideImage_Mapper_GIF.html#methodload">load</a></li>
|
||||
<li><a href="../Internal-Mappers/WideImage_Mapper_GIF.html#methodsave">save</a></li>
|
||||
</ul>
|
||||
</td>
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<table width="100%" border="0"><tr>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<a name="class_details"></a>
|
||||
<h3>Class Details</h3>
|
||||
<div class="tags">
|
||||
[line 30]<br />
|
||||
Mapper class for GIF files<br /><br /></div><br /><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
||||
|
||||
|
||||
<hr />
|
||||
<a name="class_methods"></a>
|
||||
<h3>Class Methods</h3>
|
||||
<div class="tags">
|
||||
|
||||
<hr />
|
||||
<a name="methodload"></a>
|
||||
<h3>method load <span class="smalllinenumber">[line 32]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
<code>void load(
|
||||
|
||||
$uri)</code>
|
||||
</td></tr></table>
|
||||
</td></tr></table><br />
|
||||
|
||||
<br /><br />
|
||||
|
||||
|
||||
<h4>Parameters:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="type"> </td>
|
||||
<td><b>$uri</b> </td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodsave"></a>
|
||||
<h3>method save <span class="smalllinenumber">[line 37]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
<code>void save(
|
||||
|
||||
$handle, [
|
||||
$uri = null])</code>
|
||||
</td></tr></table>
|
||||
</td></tr></table><br />
|
||||
|
||||
<br /><br />
|
||||
|
||||
|
||||
<h4>Parameters:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="type"> </td>
|
||||
<td><b>$handle</b> </td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="type"> </td>
|
||||
<td><b>$uri</b> </td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||||
</div>
|
||||
</div><br />
|
||||
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Sat, 19 Feb 2011 12:55:42 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,208 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Docs For Class WideImage_Mapper_JPEG</title>
|
||||
<link rel="stylesheet" type="text/css" href="../media/style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
|
||||
<tr>
|
||||
<td class="header_top">Internal-Mappers</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
<tr>
|
||||
<td class="header_menu">
|
||||
|
||||
|
||||
[ <a href="../classtrees_Internal-Mappers.html" class="menu">class tree: Internal-Mappers</a> ]
|
||||
[ <a href="../elementindex_Internal-Mappers.html" class="menu">index: Internal-Mappers</a> ]
|
||||
[ <a href="../elementindex.html" class="menu">all elements</a> ]
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
</table>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr valign="top">
|
||||
<td width="200" class="menu">
|
||||
<b>Packages:</b><br />
|
||||
<a href="../li_Exceptions.html">Exceptions</a><br />
|
||||
<a href="../li_Internal-Mappers.html">Internal-Mappers</a><br />
|
||||
<a href="../li_Internal-Operations.html">Internal-Operations</a><br />
|
||||
<a href="../li_Internals.html">Internals</a><br />
|
||||
<a href="../li_WideImage.html">WideImage</a><br />
|
||||
<br /><br />
|
||||
<b>Files:</b><br />
|
||||
<div class="package">
|
||||
<a href="../Internal-Mappers/_vendor---de77---BMP.php.html"> BMP.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---BMP.php.html"> BMP.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---GD.php.html"> GD.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---GD2.php.html"> GD2.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---GIF.php.html"> GIF.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---JPEG.php.html"> JPEG.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---PNG.php.html"> PNG.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---TGA.php.html"> TGA.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_vendor---de77---TGA.php.html"> TGA.php
|
||||
</a><br>
|
||||
</div><br />
|
||||
|
||||
|
||||
<b>Classes:</b><br />
|
||||
<div class="package">
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_BMP.html">WideImage_Mapper_BMP</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_GD.html">WideImage_Mapper_GD</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_GD2.html">WideImage_Mapper_GD2</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_GIF.html">WideImage_Mapper_GIF</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_JPEG.html">WideImage_Mapper_JPEG</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_PNG.html">WideImage_Mapper_PNG</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_TGA.html">WideImage_Mapper_TGA</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_vendor_de77_BMP.html">WideImage_vendor_de77_BMP</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_vendor_de77_TGA.html">WideImage_vendor_de77_TGA</a><br />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
|
||||
|
||||
<h1>Class: WideImage_Mapper_JPEG</h1>
|
||||
Source Location: /Mapper/JPEG.php<br /><br />
|
||||
|
||||
|
||||
<table width="100%" border="0">
|
||||
<tr><td valign="top">
|
||||
|
||||
<h3><a href="#class_details">Class Overview</a></h3>
|
||||
<pre></pre><br />
|
||||
<div class="description">Mapper class for JPEG files</div><br /><br />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
<td valign="top">
|
||||
<h3><a href="#class_methods">Methods</a></h3>
|
||||
<ul>
|
||||
<li><a href="../Internal-Mappers/WideImage_Mapper_JPEG.html#methodload">load</a></li>
|
||||
<li><a href="../Internal-Mappers/WideImage_Mapper_JPEG.html#methodsave">save</a></li>
|
||||
</ul>
|
||||
</td>
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<table width="100%" border="0"><tr>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<a name="class_details"></a>
|
||||
<h3>Class Details</h3>
|
||||
<div class="tags">
|
||||
[line 30]<br />
|
||||
Mapper class for JPEG files<br /><br /></div><br /><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
||||
|
||||
|
||||
<hr />
|
||||
<a name="class_methods"></a>
|
||||
<h3>Class Methods</h3>
|
||||
<div class="tags">
|
||||
|
||||
<hr />
|
||||
<a name="methodload"></a>
|
||||
<h3>method load <span class="smalllinenumber">[line 32]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
<code>void load(
|
||||
|
||||
$uri)</code>
|
||||
</td></tr></table>
|
||||
</td></tr></table><br />
|
||||
|
||||
<br /><br />
|
||||
|
||||
|
||||
<h4>Parameters:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="type"> </td>
|
||||
<td><b>$uri</b> </td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodsave"></a>
|
||||
<h3>method save <span class="smalllinenumber">[line 37]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
<code>void save(
|
||||
|
||||
$handle, [
|
||||
$uri = null], [
|
||||
$quality = 100])</code>
|
||||
</td></tr></table>
|
||||
</td></tr></table><br />
|
||||
|
||||
<br /><br />
|
||||
|
||||
|
||||
<h4>Parameters:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="type"> </td>
|
||||
<td><b>$handle</b> </td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="type"> </td>
|
||||
<td><b>$uri</b> </td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="type"> </td>
|
||||
<td><b>$quality</b> </td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||||
</div>
|
||||
</div><br />
|
||||
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Sat, 19 Feb 2011 12:55:42 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,214 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Docs For Class WideImage_Mapper_PNG</title>
|
||||
<link rel="stylesheet" type="text/css" href="../media/style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
|
||||
<tr>
|
||||
<td class="header_top">Internal-Mappers</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
<tr>
|
||||
<td class="header_menu">
|
||||
|
||||
|
||||
[ <a href="../classtrees_Internal-Mappers.html" class="menu">class tree: Internal-Mappers</a> ]
|
||||
[ <a href="../elementindex_Internal-Mappers.html" class="menu">index: Internal-Mappers</a> ]
|
||||
[ <a href="../elementindex.html" class="menu">all elements</a> ]
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
</table>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr valign="top">
|
||||
<td width="200" class="menu">
|
||||
<b>Packages:</b><br />
|
||||
<a href="../li_Exceptions.html">Exceptions</a><br />
|
||||
<a href="../li_Internal-Mappers.html">Internal-Mappers</a><br />
|
||||
<a href="../li_Internal-Operations.html">Internal-Operations</a><br />
|
||||
<a href="../li_Internals.html">Internals</a><br />
|
||||
<a href="../li_WideImage.html">WideImage</a><br />
|
||||
<br /><br />
|
||||
<b>Files:</b><br />
|
||||
<div class="package">
|
||||
<a href="../Internal-Mappers/_vendor---de77---BMP.php.html"> BMP.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---BMP.php.html"> BMP.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---GD.php.html"> GD.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---GD2.php.html"> GD2.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---GIF.php.html"> GIF.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---JPEG.php.html"> JPEG.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---PNG.php.html"> PNG.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---TGA.php.html"> TGA.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_vendor---de77---TGA.php.html"> TGA.php
|
||||
</a><br>
|
||||
</div><br />
|
||||
|
||||
|
||||
<b>Classes:</b><br />
|
||||
<div class="package">
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_BMP.html">WideImage_Mapper_BMP</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_GD.html">WideImage_Mapper_GD</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_GD2.html">WideImage_Mapper_GD2</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_GIF.html">WideImage_Mapper_GIF</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_JPEG.html">WideImage_Mapper_JPEG</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_PNG.html">WideImage_Mapper_PNG</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_TGA.html">WideImage_Mapper_TGA</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_vendor_de77_BMP.html">WideImage_vendor_de77_BMP</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_vendor_de77_TGA.html">WideImage_vendor_de77_TGA</a><br />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
|
||||
|
||||
<h1>Class: WideImage_Mapper_PNG</h1>
|
||||
Source Location: /Mapper/PNG.php<br /><br />
|
||||
|
||||
|
||||
<table width="100%" border="0">
|
||||
<tr><td valign="top">
|
||||
|
||||
<h3><a href="#class_details">Class Overview</a></h3>
|
||||
<pre></pre><br />
|
||||
<div class="description">Mapper class for PNG files</div><br /><br />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
<td valign="top">
|
||||
<h3><a href="#class_methods">Methods</a></h3>
|
||||
<ul>
|
||||
<li><a href="../Internal-Mappers/WideImage_Mapper_PNG.html#methodload">load</a></li>
|
||||
<li><a href="../Internal-Mappers/WideImage_Mapper_PNG.html#methodsave">save</a></li>
|
||||
</ul>
|
||||
</td>
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<table width="100%" border="0"><tr>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<a name="class_details"></a>
|
||||
<h3>Class Details</h3>
|
||||
<div class="tags">
|
||||
[line 30]<br />
|
||||
Mapper class for PNG files<br /><br /></div><br /><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
||||
|
||||
|
||||
<hr />
|
||||
<a name="class_methods"></a>
|
||||
<h3>Class Methods</h3>
|
||||
<div class="tags">
|
||||
|
||||
<hr />
|
||||
<a name="methodload"></a>
|
||||
<h3>method load <span class="smalllinenumber">[line 32]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
<code>void load(
|
||||
|
||||
$uri)</code>
|
||||
</td></tr></table>
|
||||
</td></tr></table><br />
|
||||
|
||||
<br /><br />
|
||||
|
||||
|
||||
<h4>Parameters:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="type"> </td>
|
||||
<td><b>$uri</b> </td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodsave"></a>
|
||||
<h3>method save <span class="smalllinenumber">[line 37]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
<code>void save(
|
||||
|
||||
$handle, [
|
||||
$uri = null], [
|
||||
$compression = 9], [
|
||||
$filters = PNG_ALL_FILTERS])</code>
|
||||
</td></tr></table>
|
||||
</td></tr></table><br />
|
||||
|
||||
<br /><br />
|
||||
|
||||
|
||||
<h4>Parameters:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="type"> </td>
|
||||
<td><b>$handle</b> </td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="type"> </td>
|
||||
<td><b>$uri</b> </td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="type"> </td>
|
||||
<td><b>$compression</b> </td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="type"> </td>
|
||||
<td><b>$filters</b> </td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||||
</div>
|
||||
</div><br />
|
||||
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Sat, 19 Feb 2011 12:55:43 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,230 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Docs For Class WideImage_Mapper_TGA</title>
|
||||
<link rel="stylesheet" type="text/css" href="../media/style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
|
||||
<tr>
|
||||
<td class="header_top">Internal-Mappers</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
<tr>
|
||||
<td class="header_menu">
|
||||
|
||||
|
||||
[ <a href="../classtrees_Internal-Mappers.html" class="menu">class tree: Internal-Mappers</a> ]
|
||||
[ <a href="../elementindex_Internal-Mappers.html" class="menu">index: Internal-Mappers</a> ]
|
||||
[ <a href="../elementindex.html" class="menu">all elements</a> ]
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
</table>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr valign="top">
|
||||
<td width="200" class="menu">
|
||||
<b>Packages:</b><br />
|
||||
<a href="../li_Exceptions.html">Exceptions</a><br />
|
||||
<a href="../li_Internal-Mappers.html">Internal-Mappers</a><br />
|
||||
<a href="../li_Internal-Operations.html">Internal-Operations</a><br />
|
||||
<a href="../li_Internals.html">Internals</a><br />
|
||||
<a href="../li_WideImage.html">WideImage</a><br />
|
||||
<br /><br />
|
||||
<b>Files:</b><br />
|
||||
<div class="package">
|
||||
<a href="../Internal-Mappers/_vendor---de77---BMP.php.html"> BMP.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---BMP.php.html"> BMP.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---GD.php.html"> GD.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---GD2.php.html"> GD2.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---GIF.php.html"> GIF.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---JPEG.php.html"> JPEG.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---PNG.php.html"> PNG.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---TGA.php.html"> TGA.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_vendor---de77---TGA.php.html"> TGA.php
|
||||
</a><br>
|
||||
</div><br />
|
||||
|
||||
|
||||
<b>Classes:</b><br />
|
||||
<div class="package">
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_BMP.html">WideImage_Mapper_BMP</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_GD.html">WideImage_Mapper_GD</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_GD2.html">WideImage_Mapper_GD2</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_GIF.html">WideImage_Mapper_GIF</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_JPEG.html">WideImage_Mapper_JPEG</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_PNG.html">WideImage_Mapper_PNG</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_TGA.html">WideImage_Mapper_TGA</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_vendor_de77_BMP.html">WideImage_vendor_de77_BMP</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_vendor_de77_TGA.html">WideImage_vendor_de77_TGA</a><br />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
|
||||
|
||||
<h1>Class: WideImage_Mapper_TGA</h1>
|
||||
Source Location: /Mapper/TGA.php<br /><br />
|
||||
|
||||
|
||||
<table width="100%" border="0">
|
||||
<tr><td valign="top">
|
||||
|
||||
<h3><a href="#class_details">Class Overview</a></h3>
|
||||
<pre></pre><br />
|
||||
<div class="description">Mapper support for TGA</div><br /><br />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
<td valign="top">
|
||||
<h3><a href="#class_methods">Methods</a></h3>
|
||||
<ul>
|
||||
<li><a href="../Internal-Mappers/WideImage_Mapper_TGA.html#methodload">load</a></li>
|
||||
<li><a href="../Internal-Mappers/WideImage_Mapper_TGA.html#methodloadFromString">loadFromString</a></li>
|
||||
<li><a href="../Internal-Mappers/WideImage_Mapper_TGA.html#methodsave">save</a></li>
|
||||
</ul>
|
||||
</td>
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<table width="100%" border="0"><tr>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<a name="class_details"></a>
|
||||
<h3>Class Details</h3>
|
||||
<div class="tags">
|
||||
[line 32]<br />
|
||||
Mapper support for TGA<br /><br /></div><br /><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
||||
|
||||
|
||||
<hr />
|
||||
<a name="class_methods"></a>
|
||||
<h3>Class Methods</h3>
|
||||
<div class="tags">
|
||||
|
||||
<hr />
|
||||
<a name="methodload"></a>
|
||||
<h3>method load <span class="smalllinenumber">[line 34]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
<code>void load(
|
||||
|
||||
$uri)</code>
|
||||
</td></tr></table>
|
||||
</td></tr></table><br />
|
||||
|
||||
<br /><br />
|
||||
|
||||
|
||||
<h4>Parameters:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="type"> </td>
|
||||
<td><b>$uri</b> </td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodloadFromString"></a>
|
||||
<h3>method loadFromString <span class="smalllinenumber">[line 39]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
<code>void loadFromString(
|
||||
|
||||
$data)</code>
|
||||
</td></tr></table>
|
||||
</td></tr></table><br />
|
||||
|
||||
<br /><br />
|
||||
|
||||
|
||||
<h4>Parameters:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="type"> </td>
|
||||
<td><b>$data</b> </td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodsave"></a>
|
||||
<h3>method save <span class="smalllinenumber">[line 44]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
<code>void save(
|
||||
|
||||
$handle, [
|
||||
$uri = null])</code>
|
||||
</td></tr></table>
|
||||
</td></tr></table><br />
|
||||
|
||||
<br /><br />
|
||||
|
||||
|
||||
<h4>Parameters:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="type"> </td>
|
||||
<td><b>$handle</b> </td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="type"> </td>
|
||||
<td><b>$uri</b> </td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||||
</div>
|
||||
</div><br />
|
||||
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Sat, 19 Feb 2011 12:55:43 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,281 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Docs For Class WideImage_vendor_de77_BMP</title>
|
||||
<link rel="stylesheet" type="text/css" href="../media/style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
|
||||
<tr>
|
||||
<td class="header_top">Internal-Mappers</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
<tr>
|
||||
<td class="header_menu">
|
||||
|
||||
|
||||
[ <a href="../classtrees_Internal-Mappers.html" class="menu">class tree: Internal-Mappers</a> ]
|
||||
[ <a href="../elementindex_Internal-Mappers.html" class="menu">index: Internal-Mappers</a> ]
|
||||
[ <a href="../elementindex.html" class="menu">all elements</a> ]
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||||
</table>
|
||||
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr valign="top">
|
||||
<td width="200" class="menu">
|
||||
<b>Packages:</b><br />
|
||||
<a href="../li_Exceptions.html">Exceptions</a><br />
|
||||
<a href="../li_Internal-Mappers.html">Internal-Mappers</a><br />
|
||||
<a href="../li_Internal-Operations.html">Internal-Operations</a><br />
|
||||
<a href="../li_Internals.html">Internals</a><br />
|
||||
<a href="../li_WideImage.html">WideImage</a><br />
|
||||
<br /><br />
|
||||
<b>Files:</b><br />
|
||||
<div class="package">
|
||||
<a href="../Internal-Mappers/_vendor---de77---BMP.php.html"> BMP.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---BMP.php.html"> BMP.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---GD.php.html"> GD.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---GD2.php.html"> GD2.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---GIF.php.html"> GIF.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---JPEG.php.html"> JPEG.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---PNG.php.html"> PNG.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_Mapper---TGA.php.html"> TGA.php
|
||||
</a><br>
|
||||
<a href="../Internal-Mappers/_vendor---de77---TGA.php.html"> TGA.php
|
||||
</a><br>
|
||||
</div><br />
|
||||
|
||||
|
||||
<b>Classes:</b><br />
|
||||
<div class="package">
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_BMP.html">WideImage_Mapper_BMP</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_GD.html">WideImage_Mapper_GD</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_GD2.html">WideImage_Mapper_GD2</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_GIF.html">WideImage_Mapper_GIF</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_JPEG.html">WideImage_Mapper_JPEG</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_PNG.html">WideImage_Mapper_PNG</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_Mapper_TGA.html">WideImage_Mapper_TGA</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_vendor_de77_BMP.html">WideImage_vendor_de77_BMP</a><br />
|
||||
<a href="../Internal-Mappers/WideImage_vendor_de77_TGA.html">WideImage_vendor_de77_TGA</a><br />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
|
||||
|
||||
<h1>Class: WideImage_vendor_de77_BMP</h1>
|
||||
Source Location: /vendor/de77/BMP.php<br /><br />
|
||||
|
||||
|
||||
<table width="100%" border="0">
|
||||
<tr><td valign="top">
|
||||
|
||||
<h3><a href="#class_details">Class Overview</a></h3>
|
||||
<pre></pre><br />
|
||||
<div class="description">External code for BMP</div><br /><br />
|
||||
<h4>Author(s):</h4>
|
||||
<ul>
|
||||
<li>de77</li>
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4>Version:</h4>
|
||||
<ul>
|
||||
<li>21.08.2010</li>
|
||||
</ul>
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
<td valign="top">
|
||||
<h3><a href="#class_methods">Methods</a></h3>
|
||||
<ul>
|
||||
<li><a href="../Internal-Mappers/WideImage_vendor_de77_BMP.html#methodimagebmp">imagebmp</a></li>
|
||||
<li><a href="../Internal-Mappers/WideImage_vendor_de77_BMP.html#methodimagecreatefrombmp">imagecreatefrombmp</a></li>
|
||||
<li><a href="../Internal-Mappers/WideImage_vendor_de77_BMP.html#methodimagecreatefromstring">imagecreatefromstring</a></li>
|
||||
</ul>
|
||||
</td>
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<table width="100%" border="0"><tr>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</tr></table>
|
||||
<hr />
|
||||
|
||||
<a name="class_details"></a>
|
||||
<h3>Class Details</h3>
|
||||
<div class="tags">
|
||||
[line 38]<br />
|
||||
External code for BMP<br /><br /><p>Adapted for use in WideImage. Code used with permission from the original author de77. http://de77.com/php/read-and-write-bmp-in-php-imagecreatefrombmp-imagebmp</p><br /><br /><br />
|
||||
<h4>Tags:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td><b>author:</b> </td><td>de77</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>version:</b> </td><td>21.08.2010</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>license:</b> </td><td>MIT</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div><br /><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
||||
|
||||
|
||||
<hr />
|
||||
<a name="class_methods"></a>
|
||||
<h3>Class Methods</h3>
|
||||
<div class="tags">
|
||||
<hr />
|
||||
<a name="methodimagebmp"></a>
|
||||
<h3>static method imagebmp <span class="smalllinenumber">[line 40]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
<code>static void imagebmp(
|
||||
|
||||
&$img, [
|
||||
$filename = false])</code>
|
||||
</td></tr></table>
|
||||
</td></tr></table><br />
|
||||
|
||||
<br /><br />
|
||||
<h4>Tags:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td><b>access:</b> </td><td>public</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br /><br />
|
||||
|
||||
|
||||
<h4>Parameters:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="type"> </td>
|
||||
<td><b>&$img</b> </td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="type"> </td>
|
||||
<td><b>$filename</b> </td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodimagecreatefrombmp"></a>
|
||||
<h3>static method imagecreatefrombmp <span class="smalllinenumber">[line 175]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
<code>static void imagecreatefrombmp(
|
||||
|
||||
$filename)</code>
|
||||
</td></tr></table>
|
||||
</td></tr></table><br />
|
||||
|
||||
<br /><br />
|
||||
<h4>Tags:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td><b>access:</b> </td><td>public</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br /><br />
|
||||
|
||||
|
||||
<h4>Parameters:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="type"> </td>
|
||||
<td><b>$filename</b> </td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodimagecreatefromstring"></a>
|
||||
<h3>static method imagecreatefromstring <span class="smalllinenumber">[line 106]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
<code>static void imagecreatefromstring(
|
||||
|
||||
$data)</code>
|
||||
</td></tr></table>
|
||||
</td></tr></table><br />
|
||||
|
||||
<br /><br />
|
||||
<h4>Tags:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td><b>access:</b> </td><td>public</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br /><br />
|
||||
|
||||
|
||||
<h4>Parameters:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="type"> </td>
|
||||
<td><b>$data</b> </td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||||
</div>
|
||||
|
||||
</div><br />
|
||||
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Sat, 19 Feb 2011 12:55:41 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|