1
0
mirror of https://github.com/mosbth/cimage.git synced 2025-08-20 14:51:23 +02:00

initial release

This commit is contained in:
Mikael Roos
2012-04-25 15:49:09 +02:00
commit 580b3a46f9
7 changed files with 374 additions and 0 deletions

26
README.md Normal file
View File

@@ -0,0 +1,26 @@
Image conversion on the fly using PHP
=====================================
The `CImage.php` contains a class that can resize and crop images and output them to
a webpage. The class has cache of generated images.
The file `img.php` uses `CImage.php` to resize images. It is a usecase on how to use
the class.
The file `test.php` has some testcases that show the results of `img.php` with different
settings.
Start by reviewing the `test.php`, then have a look at `img.php` and finally go through
`CImage.php`.
Enjoy.
Mikael Roos (mos@dbwebb.se)
Revision history
----------------
v0.1 (2012-04-25)
* Initial release after rewriting some older code I had lying around.