Login   Register  
PHP Classes
elePHPant
Icontem

Image Masking

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Andrew Collington
Name: Andrew Collington <e-mail contact>
Packages: 13 Browse all classes by Andrew Collington Browse all classes by
Country: United Kingdom United Kingdom - PHP jobs in United Kingdom
Age: 39
All time rank: 504 in United Kingdom United Kingdom
Week rank: 479 Down22 in United Kingdom United Kingdom Down


  Detailed description   Download .zip .tar.gz  
This class is meant to apply a mask to a given image, much like you could do in PhotoShop, Gimp, or any other such image manipulation program.

If the mask is smaller than the image then the mask can be placed in various positions (top left, left, top right, left, centre, right, bottom left, bottom, bottom right) or the mask can be resized to the dimensions of the image.

This class has to copy an image one pixel at a time. Please bare in mind that this process may take quite some time on large images, so it is probably best that it is used on thumbnails and smaller images.

The processing is done in true color. Therefore the resulting masked is generated in either JPEG or PNG.

  Classes of Andrew Collington  >  Image Masking  >  Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Image Masking
Base name: image-mask
Description: Apply masks to an image and output the cut image
Version: -
PHP version: -
License: Free for non-commercial use
All time users: 1886 users
All time rank: 1871
Week users: 3 users
Week rank: 952 Up
 
  Groups   Rate classes User ratings   Applications   Related links   Files Files  

  Groups  
Group folder image Graphics Colors, images, charts and picture formats View top rated classes


  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Perfect (100.0%)
Perfect (100.0%)
-
Perfect (100.0%)
-
-
Sufficient (70.0%)
190
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
Demo A demo of the class in action
Forum The class' forum
Homepage The homepage for the class, including some mask examples

  Files folder image Files  
File Role Description
Plain text file class.imagemask.php Class The main class file
Accessible without login Plain text file test.imagemask.php Example A test file

Download all files: image-mask.tar.gz image-mask.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.