I'll take a look at the functions, I'm currently writing functions for a groovy imageeditor I've already written funtions to rotate and crop uploaded images.
Right now I am trying to figure out a way to perform a Photoshop-like 'auto levels' function but right now I don't have a clue how this algoritm works.
/!!\ mysql_ is deprecated --- don't use it! Tell your hosting company you will switch if they don't upgrade!/!!!\ ereg() is deprecated --- don't use it!
dalecosp "God doesn't play dice." --- Einstein "Perl is hardly a paragon of beautiful syntax." --- Weedpacket
hey guys, i'm wondering if anyone here knows how to generate thumbnails and sorta put a border around them (ie picture frame looking border) or even shadows etc.. i really like this how this site generated their thumbnails and i would like to obtain a similar effect.
Functions you'll probably want to use: imagecopyresized()/imagecopyresampled() -- to create the resized image imagerectangle -- to draw borders (static) imagecopymerge() -- copy one image onto another (merge it so it preserves transparency) (dynamic)
... you do realize this thread is almost four years old, right?
In fact, for anyone who's counting, it started over 5 years ago!
Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be." ~ from Nation, by Terry Pratchett
"But the main reason that any programmer learning any new language thinks the new language is SO much better than the old one is because he’s a better programmer now!" ~ http://www.oreillynet.com/ruby/blog/...ck_to_p_1.html
Bookmarks