- From: Charles Iliya Krempeaux <supercanadian@gmail.com>
- Date: Mon, 13 Jun 2005 18:30:11 -0700
Hello, I know people are going to want to read individual or groups of pixel values. Certain image processing algorithms require it. (For example, certain edge detection algorithms. Etc. There's alot of different ones.) Now, I'm aware of the toDataURL() method. (Which is a very nice feature!) However, I don't think it is enough for image manipulation and processing. (Or at least not convenient.) Mainly, the reason is that the "data" that toDataURL() will return is encoded in PNG format. It is not a raw-uncompressed image. (Which doesn't make it amenable to image manipulation and processing.) So,... if there isn't a way of reading pixel values, you'll find that people are writing their own PNG decoders in JavaScript. (Which really isn't ideal.) See ya -- Charles Iliya Krempeaux, B.Sc. charles @ reptile.ca supercanadian @ gmail.com developer weblog: http://ChangeLog.ca/ ___________________________________________________________________________ Ask the toughest Linux System questions at... http://linuxmanagers.org/
Received on Monday, 13 June 2005 18:30:11 UTC