Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
is a PHP library to easy loading photos on the site http://www.valmat.ru/2011/10/transima…
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Type||Name||Latest commit message||Commit time|
|Failed to load latest commit information.|
transImage - is a PHP library for easy loading and transformation of photos or images on the site. It can: * Get image from the file and automatically normalize its size for save memory * Automatically rotate the original image according to the Exif * Create a copy of itself with updated by size, change self size * Apply a watermark. Supports any watermarks corresponding interface waterMark (see code) * Outputs to a client or save it to file system * Add a white background, if the original image support transparency. * Quickly create a thumbnail for preview, using a thumbnail of the Exif. * Convert images into a string for use with dada:URI. In this case a small image can be transferred with other parameters in JSON format (using Ajax). For more information, see the comments in the code. Suitable for most sites which need to get a picture from the client, correctly to convert it according to the Exif, create several versions with different sizes, and perhaps put a watermark. License BSD.