The other day I dreamed of a useless, but funny idea, but what if you try to create images only with the help of php and the library GD2, CSS and HTML. No sooner said than done.
The idea is very simple - we take the original image, run through all its pixels and find out the code for each color, then create div sizes 1px by 1px and set the background color to it as the original pixel in the image. As a result, we obtain a complete analog of the graphic brother. But the truth is that in order to receive HTML-graphics you need a good processor and a modern browser.
The result of my experiment can be seen here:
HTML-photography madness . The whole point is in the source code of the page. But before looking, just in case,
open a separate browser window , it is desirable that it was Chrome, it will definitely handle it.
Of course, it will not draw up for industrial use, but just like for fun it will completely do.