User:Eleanorg/1.2/Forbidden Pixels: Difference between revisions
Line 10: | Line 10: | ||
===Reproducing an image as html=== | ===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. | 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. | ||
* [[User:Eleanorg/1.2/Forbidden Pixels/html grid reproducing a section of banned photo | html grid reproducing a section of banned photo]] >> [http://pzwart3.wdka.hro.nl/~egreenhalgh/forbiddenPixels/forbiddenPixelsGrid1.html | * [[User:Eleanorg/1.2/Forbidden Pixels/html grid reproducing a section of banned photo | html grid reproducing a section of banned photo]] >> [http://pzwart3.wdka.hro.nl/~egreenhalgh/forbiddenPixels/forbiddenPixelsGrid1.html View output] | ||
* [[User:Eleanorg/1.2/Forbidden Pixels/RGB values stored in an array | storing RGB values in an array]] | * [[User:Eleanorg/1.2/Forbidden Pixels/RGB values stored in an array | storing RGB values in an array]] | ||
* [[User:Eleanorg/1.2/Forbidden Pixels/trying to print html grid with colours | html grid with rgb values from system command]] | * [[User:Eleanorg/1.2/Forbidden Pixels/trying to print html grid with colours | html grid with rgb values from system command]] | ||
* [[User:Eleanorg/1.2/Forbidden Pixels/first html grid | first html grid]] | * [[User:Eleanorg/1.2/Forbidden Pixels/first html grid | first html grid]] | ||
* [[User:Eleanorg/1.2/Forbidden Pixels/extracting pixel colours | extracting pixel colours]] | * [[User:Eleanorg/1.2/Forbidden Pixels/extracting pixel colours | extracting pixel colours]] |
Revision as of 16:28, 9 February 2012
Experimenting with breaking down illicit content - whether obscene or pirated - into the smallest possible visual units.
Code trials
Printing a blank 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
- 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.