VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Lossless Pic2HTML

by Jay (God) (2 Submissions)
Category: Graphics
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (3 Votes)

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

Download Lossless Pic2HTML

Download Lossless Pic2HTML (6 KB)

Lossless Pic2HTML Comments

No comments have been posted about Lossless Pic2HTML. Why not be the first to post a comment about Lossless Pic2HTML.

Post your comment

Subject:
Message:
0/1000 characters