Get pixel color with Rails or anything else
Posted
by ulf
on Stack Overflow
See other posts from Stack Overflow
or by ulf
Published on 2010-06-07T17:15:26Z
Indexed on
2010/06/07
18:52 UTC
Read the original article
Hit count: 260
I'd like to build a webapp in Rails in which I'd like to determine every pixel's color of a given image (JPEG). Is there any possibility to do that with Rails or JavaScript? The goal is to write an algorithm which determines the "middle color" of the image and uses it for background color of the site.
Any suggestion would be appreciated.
© Stack Overflow or respective owner