Skip to content

lynefish/img2css

 
 

Repository files navigation

img2css

This is a tool that can convert any image into a pure css image.

Live demo

img2css

How this works?

Well, it just puts the image in a canvas, calculates an array with the rgb values, and then... just creates a single pixel shadow for every value!

Why?

Hum... to demonstrate the power of CSS!

And this may have another interesting properties, like creating a loading screens with pixel art.

About

Convert any image to a pure css image.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 55.7%
  • HTML 25.0%
  • CSS 19.3%