<grin> In my defense, he asked how to do it in Javascript, and that's the only way it could be entirely client-side. (A better solution with server-side interaction would be to pass the manipulation arguments in an AJAX call and let a server with a real graphics library do the manipulation.)
For those of you, like me, who had to look up "lapidate" (and couldn't find it in the first couple of dictionaries I checked): Dictionary.com Unabridged (v 1.0.1) lap‧i‧date /ˈlæpɪˌdeɪt/ Pronunciation Key - Show Spelled Pronunciation[lap-i-deyt] Pronunciation Key - Show IPA Pronunciation –verb (used with object), -dat‧ed, -dat‧ing. 1. to pelt with stones. 2. to stone to death. [Origin: 1615–25; < L lapidātus ptp. of lapidāre to stone. See lapidary, -ate1] —Related forms lap‧i‧da‧tion, noun Dictionary.com Unabridged (v 1.0.1) Based on the Random House Unabridged Dictionary, © Random House, Inc. 2006. On Oct 10, 2006, at 11:01 AM, Christophe Porteneuve aka TDD wrote: > > Hey Tom, > > Tom Gregory a écrit : >> You would need to use js and css, create an absolutely positioned div >> for every visible pixel of the image, and offset the background image >> to the pixel you wish to display. With such a scheme, you could do >> any kind of manipulation you wished! > > Man! You should be *lapidated* for suggesting people should even > attempt this! :-) > > I can imagine this, even on medium-size images, bringing the rendering > engine to a grinding halt. > > -- > Christophe Porteneuve aka TDD > [EMAIL PROTECTED] > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs -~----------~----~----~----~------~----~------~--~---
