note 52551 added to ref.image
| From: | j at jgdataworks dot com | Date: | Thu, 05 May 2005 14:33:20 +0000 |
| Subject: | note 52551 added to ref.image | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-88969@lists.php.net to get a copy of this message | ||
Here is a class that I wrote, it supports scaling images on the fly:
scale to desired dimensions
scale to maximum
scale to ratio (relative to 1.0)
it could be easily modified for other features as well.
It can be included in your scripts, or called directly like this: <img
src="image.php?img=/imgs/logo.png;sm,200">
Check it out:
http://jgdataworks.com/OSS/Image.class.phps
If you like it, drop me a note. Thanks.
----
Manual Page -- http://www.php.net/manual/en/ref.image.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+52551
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+52551&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+52551&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+52551&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+52551&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+52551&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+52551&report=yes
Search -- http://master.php.net/manage/user-notes.php