User:Eleanorg/1.2/Forbidden Pixels: Difference between revisions
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
* [[User:Eleanorg/1.2/Forbidden Pixels/storing RGB values in nested lists | storing RGB values in nested lists]] | * [[User:Eleanorg/1.2/Forbidden Pixels/storing RGB values in nested lists | storing RGB values in nested lists]] | ||
* [[User:Eleanorg/1.2/Forbidden Pixels/printing html grid from nested list values | printing html grid from nested list values]] | * [[User:Eleanorg/1.2/Forbidden Pixels/printing html grid from nested list values | printing html grid from nested list values]] | ||
* [[User:Eleanorg/1.2/Forbidden Pixels/assigning each | * [[User:Eleanorg/1.2/Forbidden Pixels/assigning each td a meaningful id | assigning each td a meaningful id ]] | ||
* [[User:Eleanorg/1.2/Forbidden Pixels/using jQuery to access co-ordinate & colour of each cell | using jQuery to access co-ordinate & colour of each cell]] | * [[User:Eleanorg/1.2/Forbidden Pixels/using jQuery to access co-ordinate & colour of each cell | using jQuery to access co-ordinate & colour of each cell]] | ||
Revision as of 11:04, 20 February 2012
Experimenting with breaking down illicit content - whether obscene or pirated - into the smallest possible visual units.
Code trials
Printing an empty html grid
An image is processed with ImageMagick, so each pixel's coordinate & color is extracted. A visibly empty html grid is printed, with each cell in the grid assigned one pixel's coodinate & color. Eventual aim: each cell has a unique id string, which can be embedded on other websites. Those sites are then scraped, turning the co-ordinate & colour within the string into html which displays the pixel.
- storing RGB values in nested lists
- printing html grid from nested list values
- assigning each td a meaningful id
- using jQuery to access co-ordinate & colour of each cell
Reproducing an image as html
An image is processed with ImageMagick, so each pixel's coordinate & color is extracted, then reproduced using only html/css, so it's no longer an image.