DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: [SOLVED] Painting to text [image to ascii]  (Read 14,638 times)

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,947
[SOLVED] Painting to text [image to ascii]
« on: August 21, 2017, 09:15 PM »
I would like a script able to transform any image in an txt image.

A simple interpretation of the signs in an image.

It's possible ?

P.D. I know programs able to transform a photo in a cartoon....

« Last Edit: May 10, 2019, 09:46 PM by Deozaan »

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: nany 2018 : Painting to text
« Reply #1 on: August 21, 2017, 10:23 PM »
Do you mean image-to-ascii?

https://www.google.com/search?q=image%20to%20ascii

kunkel321

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 626
    • Participated in NANY Challenge Once
Re: nany 2018 : Painting to text
« Reply #2 on: August 22, 2017, 12:47 AM »
There is the most awesome ASCIIGen2  https://sourceforge.net/projects/ascgen2/ ; Saddly it does not work with Win 10 (apparently), because it requires .NET 3.5, which I have not been able to install on Win 10.  :(

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,947
Re: nany 2018 : Painting to text
« Reply #3 on: August 22, 2017, 10:39 AM »
Do you mean image-to-ascii?

https://www.google.com/search?q=image%20to%20ascii

Yes !!!!!!!

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,947
Re: nany 2018 : Painting to text
« Reply #4 on: August 22, 2017, 10:39 AM »
There is the most awesome ASCIIGen2  https://sourceforge.net/projects/ascgen2/ ; Saddly it does not work with Win 10 (apparently), because it requires .NET 3.5, which I have not been able to install on Win 10.  :(
Perfect then. I am with windows 8.1
I will try and comment.

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,947
Re: nany 2018 : Painting to text
« Reply #5 on: August 22, 2017, 11:16 AM »
ascen2 iw wonderful.

I am searching for RSI images with excercises free of copyright.

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,947
Re: nany 2018 : Painting to text
« Reply #6 on: August 22, 2017, 05:21 PM »
The first proof to make a book with an image is faulty , but I will keep trying.
For some reason the image distortion or don't fit the space.
You can try to see with PopUp Wisdom

Best Regards

I adjunt two files. One I think may be the correct way

I think my fault is that the code \n goes near the ascii image and distortion.
You'll have to join the lines to see something in the txt files adjunted.

« Last Edit: August 22, 2017, 06:37 PM by Contro »

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,947
Re: nany 2018 : Painting to text
« Reply #7 on: August 22, 2017, 06:00 PM »
One of my problems is formattin the breakline. The symbol \n goes near the ASCII image and not to the beginning of the line.


Edited : This is solved by now. Is a question of configuration of pspad and is solved. Sorry. Best Regards

Keep trying

Edited : Now my problem is see the entire image.
In PopUp Wisdom the configuration is :
Max Width 640
Max Height 480
With this options marked :
Expand Window to fit
Shrink Font to Fit
Prefer Wide window

I am going to make proofs modifying the values.

Best Regards

Edited : The image seems to high . Even with 1280, 960 (wide, height). But I think the image is distorted from the original one.
I need to do this perfectly well to create a PUW book with RSI excercises.

:-*
« Last Edit: August 22, 2017, 06:59 PM by Contro »

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,947
Re: [SOLVED] nany 2018 : Painting to text
« Reply #8 on: September 25, 2017, 08:28 AM »
ascen2 iw wonderful.

;D

Original address: https://www.donationcoder.com/forum/index.php?topic=44230.0