Cool project/challenge though.
You do realise that given the sample CSS you posted that for a 640x480 image it would generate a CSS file that's over 42 megs?
The above + Ajax = 'dynamic locally-generated images' or 'DLGI'
The Ajax is the fun part. Real-time image manipulation. Well, I'm hoping, eh?![]()
![]()
AJAX != JavaScript![]()
I know. As the generated content is HTML/CSS, it will be that which is manipulated without the need to refresh the page. I weren't talking about JavaScript effects.![]()
Good
Btw, I did only what you first asked for in that program. It doesn't record the original dimensions of the image or output the colour values as CSS; just the raw hex values separated by spaces.
So, pretty much like this then: http://www.cellsea.com/media/index.htm
Except yours will require tens of megabytes of CSS files to be downloaded?
I have to say I think this is a doomed project!