PHP Classes

IMGOut: Perform several types of image manipulation

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 841 All time: 4,132 This week: 524Up
Version License Categories
imgout 1.0Freely DistributableGraphics
Description 

Author

This class can perform several types of image manipulation.

It can:

- Load existing image or create new image
- Resize an image keeping aspect ratio
- Draw a given text with optional glow effect
- Serve the processed image in any supported format; it supports GIF and PNG with transparency

It requires GD 2 library with TrueType font support to provide all the functionality.

Picture of Dmitry A. Kirilin
Name: Dmitry A. Kirilin is available for providing paid consulting. Contact Dmitry A. Kirilin .
Classes: 5 packages by
Country: Russian Federation Russian Federation
Age: 45
All time rank: 80028 in Russian Federation Russian Federation
Week rank: 288 Up16 in Russian Federation Russian Federation Up
Innovation award
Innovation award
Nominee: 1x

Details

IMGOut: a simple image processor class. ======================================= Demo and testing ~~~~~~~~~~~~~~~~ This package misses a TTF font named "default.ttf". To make an example work, copy any TTF font into directory, where IMGOut is unpacked and enjoy. Short description. ~~~~~~~~~~~~~~~~~~ This class is optimized for direct server variable usage, like $_GET and $_POST. Path checking implemented. Methods ~~~~~~~ Constructor: IMGOut($vars) Expects $vars to be an associative array containing processing parameters (full list can be seen at the top of class source file). Also does text application, if specified. Method: Text($vars) Applies a text to loaded/generated image. Expects the same as constructor, but it hasn't to be equal. ;) Method: SetOutputType($type) Sets the type for streaming in Output(). Method: Output() Streams the image. (C) m0Ray 2005 Russia, Samara

  Files folder image Files (6)  
File Role Description
Plain text file imgout.inc.php Class Class source
Accessible without login Plain text file imgout.php Example Example for $_GET
Accessible without login Image file imgout.php.jpeg Output Sample output
Accessible without login HTML file index.html Data Example HTML form
Accessible without login Plain text file README Doc. Read this first
Accessible without login Image file sample.jpg Data Sample image

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:841
This week:0
All time:4,132
This week:524Up