PHP Classes
elePHPant
Icontem

Image Masking: Apply masks to an image and output the cut image

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

  Author Author  
Picture of Andrew Collington
Name: Andrew Collington <contact>
Classes: 13 packages by
Country: United Kingdom United Kingdom
Age: 40
All time rank: 524 in United Kingdom United Kingdom
Week rank: 784 Down36 in United Kingdom United Kingdom Down


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
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 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: 1.0.0
PHP version: -
License: Free for non-commercial use
All time users: 1960 users
All time rank: 1894
Week users: 0 users
Week rank: 1395 Equal
 
  Groups   Rate classes User ratings   Applications   Related pages   Files Files  

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


  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Perfect (100%) Perfect (100%) - Perfect (100%) - - Sufficient (70%) 204
Month: Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.


  Related pages  
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

Install with Composer Install with Composer - Download 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.