VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Lossless Pic2HTML

Jay (God)  (2 Submissions)   Graphics   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

I've noticed a lot of "Pic2HTML" programs lately that will turn an image file into an ASCII image of similar colors. While this is a good idea, I figured I'd spend an hour and code an algorithm that was lossless (IE: Final HTML picture is *EXACTLY* the same as the original image file). The algorithm is in the "Generate Code" button and even though it's fairly optimized, it still uses a lot of RAM and takes a while for large image files (it even has some "intelligence" to notice pixel clusters, but that didn't increase the speed: it only decreased the output size). Enjoy.

Rate Lossless Pic2HTML (3(3 Vote))

Download Lossless Pic2HTML

Lossless Pic2HTML Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters