andy's php projects
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Script and site usage:
All of the scripts on this site are provided free for non-commerical, personal or non-profit use. If you find these scripts useful to you, appreciate the free support, or are just an all round nice person, then why not donate a little dosh? If you wish to use any of these in a commercial system, please refer to the payment plan.


New version!

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    php.amnuts.com Forum Index -> Image Functions
View previous topic :: View next topic  
Author Message
amnuts
Site Admin


Joined: 01 Sep 2002
Posts: 662
Location: East Sussex, England

PostPosted: Thu Feb 10, 2005 7:23 am    Post subject: New version! Reply with quote

The image functions class has been updated.

This version fixes a bug in the rgb2hls (thanks to TheOwl for pointing it out). It also adds two new functions; sepia to give you a quick sepia toning algorithm and colourRange (also accessible via colorRange) which, given a start colour, an end colour and a number of steps will give you a range of colours in between. The returned range array will be in whatever format you supplied. So that if you gave the colours as both hex values, then the range values will be in hex. If you gave them as both arrays, then the returned values will be as rgb arrays, else it'll give both values back in whatever order you gave them (hex/array or array/hex).

If any problems arise with this update, please post up o nthe message board!

Regards,

Andy
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    php.amnuts.com Forum Index -> Image Functions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group