File/index.php

Description

Aptana Cloud Sample Application - Image Manipulation Demo

This is just a simple, single-page app showing off file uploads and image manipulations using the imagick extension for PHP. Feel free to modify this code in any way, or re-use it in one of your apps if you would like.

The basic process followed by the application is:

  • Upload an image file to the 'uploads' directory
  • Open the image, and resize it
  • Apply some effects via imagick to create a "polaroid" effect
  • Save the resulting image
  • Show the resulting image to the user
For more information about imagick, check out the PHP docs for the extension: PHP imagick documentation

Also see Mikko's blog for the code that inspired this sample, as well as more imagick goodness: Mikko's Blog

Includes
 include_once ('functions.inc.php') (line 34)

Helper functions for the sample app

Documentation generated on Tue, 07 Oct 2008 15:23:02 -0700 by phpDocumentor 1.4.2