VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Picture to Text (Update to Icon to Text)

by Jay Kreusch (6 Submissions)
Category: Complete Applications
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (11 Votes)

This code is an update to the Icon to Text converter submitted by Ben Jones. I have posted this with his permission. Please visit his website at:


https://www.codearchive.com/~dreamvb


If you like it, please vote. Anyway, This update adds the following abilities:



  • Ability to convert any image insertable into a picturebox. I.E. JPG, GIF, BMP, WMF, ICO.

  • Large picture support. Will support text files with widths up to 22 inches without word wrapping, larger with word wrapping.

  • Character support for up to 223 colors

  • Full-color text display using richtextbox control. (Now saves to rtf, but you can comment out that option)

  • Color legend to show mappings (Uses dynamic control loading)


Requires RichTextbox control for rtf previewing, Windows common controls 6.0 for progressbar.


Produces RTF text picture with color legend. My girlfriend uses this for cross-stitch patterns.


However, Color is limited to 223 colors(character set 33-255) However, I've had great success in converting jpgs to 256 color bitmaps prior to converting to text.


Basically, I have changed Ben's conversion logic to an array of colors with indexes equal to ascii character codes.

Rate Picture to Text (Update to Icon to Text)

Download Picture to Text (Update to Icon to Text)

Download Picture to Text (Update to Icon to Text) (23 KB)

Picture to Text (Update to Icon to Text) Comments

No comments have been posted about Picture to Text (Update to Icon to Text). Why not be the first to post a comment about Picture to Text (Update to Icon to Text).

Post your comment

Subject:
Message:
0/1000 characters