PHP Classes
elePHPant
Icontem

PHP Photo Wall Gallery: Convert images to ASCII characters or photo walls

Recommend this page to a friend!
  Info   View files Example   Demos   View files View files (13)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2016-05-16 (3 years ago) RSS 2.0 feedStarStarStarStar 72%Total: 405 All time: 6,405 This week: 344Up
Version License PHP version Categories
photo-wall-gallery 1.10GNU General Publi...5PHP 5, Graphics
Description Author

This class can convert images to ASCII characters or photo walls.

It can perform several types of operations to images in the JPEG, GIF, or PNG formats applying filters or cropping and resizing the images.

The class can also convert the images to render them as a grid of ASCII characters, as well create photo walls from them with given width and height.

Innovation Award
PHP Programming Innovation award winner
April 2016
Winner


Prize: One downloadable copy of CodeLobster Professional
Photo walls are useful for Web sites that need to show many images at once in a Web page.

This class can generate photo wall images composed from groups of other images that may have their sizes adjusted to align better in the photo wall.

Manuel Lemos
  Performance   Level  
Name: andrea battellocchi is available for providing paid consulting. Contact andrea battellocchi .
Classes: 2 packages by
Country: Italy Italy
Age: 44
All time rank: 2962116 in Italy Italy
Week rank: 911 Up46 in Italy Italy Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

 

Details
ImageManipulate is a PHP class to manipulate images
this class can
Create wall with random file from media dir (you can provide: width, height,rows,columns)
Create horizontal stripe with random file from media dir (you can provide: width, height)
Create vertical stripe with random file from media dir (you can provide: width, height)
Create Ascii image with random file from media dir  (you can provide: width, height,chars and much more)
Crop to fit explicit width and height examples  (you can provide: width, height)
Apply filter to image like:
IMG_FILTER_NEGATE: Reverses all colors of the image.
IMG_FILTER_GRAYSCALE: Converts the image into grayscale.
IMG_FILTER_BRIGHTNESS: Changes the brightness of the image. Use arg1 to set the level of brightness. The range for the brightness is -255 to 255.
IMG_FILTER_CONTRAST: Changes the contrast of the image. Use arg1 to set the level of contrast.
IMG_FILTER_COLORIZE: Like 
IMG_FILTER_GRAYSCALE, except you can specify the color. Use arg1, arg2 and arg3 in the form of red, green, blue and arg4 for the alpha channel. The range for each color is 0 to 255.
IMG_FILTER_EDGEDETECT: Uses edge detection to highlight the edges in the image.
IMG_FILTER_EMBOSS: Embosses the image.
IMG_FILTER_GAUSSIAN_BLUR: Blurs the image using the Gaussian method.
IMG_FILTER_SELECTIVE_BLUR: Blurs the image.
IMG_FILTER_MEAN_REMOVAL: Uses mean removal to achieve a "sketchy" effect.
IMG_FILTER_SMOOTH: Makes the image smoother. Use arg1 to set the level of smoothness.
IMG_FILTER_PIXELATE: Applies pixelation effect to the image, use arg1 to set the block size and arg2 to set the pixelation effect mode.


  demo pageExternal page  

Open in a separate window

  Files folder image Files  
File Role Description
Files folder imageclass (1 file)
Files folder imagemedia (3 files)
Plain text file asciize.php Example interface to class to create ascii image
Plain text file filter.php Example interface to class to apply filter to image
Plain text file filter_alternate.php Example GLOB_BRACE Workaround
Accessible without login Plain text file index.html Data example page
Accessible without login Plain text file read.me Doc. readme file
Plain text file resize_size.php Example interface to class to resize image
Plain text file resize_size_alternate.php Example GLOB_BRACE Workaround
Plain text file wall.php Example interface to class to create photowall and stripe
Plain text file wall_alternate.php Example GLOB_BRACE Workaround

  Files folder image Files  /  class  
File Role Description
  Plain text file im.class.php Class class/im.class.php

  Files folder image Files  /  media  
File Role Description
  Image file 1.jpg Photo media/1.jpg
  Image file 2.jpg Photo media/2.jpg
  Image file 3.jpg Photo media/3.jpg

 Version Control Unique User Downloads Download Rankings  
 0%
Total:405
This week:0
All time:6,405
This week:344Up
User Ratings User Comments (2)
 All time
Utility:91%StarStarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:87%StarStarStarStarStar
Examples:87%StarStarStarStarStar
Tests:-
Videos:-
Overall:72%StarStarStarStar
Rank:299
 
Excellent package with brilliant support
3 years ago (Stephen Layton)
77%StarStarStarStar
Witty class.
3 years ago (pippo calzettoni)
80%StarStarStarStarStar