Skip to content

Improve ASCII art generation with PIL compatibility fixes and enhance…#73

Open
bob60bob123 wants to merge 1 commit intovietnh1009:masterfrom
bob60bob123:master
Open

Improve ASCII art generation with PIL compatibility fixes and enhance…#73
bob60bob123 wants to merge 1 commit intovietnh1009:masterfrom
bob60bob123:master

Conversation

@bob60bob123
Copy link
Copy Markdown

…d contrast

  • Fix PIL ImageFont.getsize() deprecation by replacing with getbbox()
  • Add contrast enhancement (CLAHE) to img2img.py for better B&W output
  • Increase default num_cols to 400 for finer detail in image output
  • Add scale parameter (1=smaller chars, 2=larger) for flexible output
  • Apply same PIL compatibility fixes to video2video.py and video2video_color.py
  • Maintain backward compatibility with original algorithms

…d contrast

- Fix PIL ImageFont.getsize() deprecation by replacing with getbbox()
- Add contrast enhancement (CLAHE) to img2img.py for better B&W output
- Increase default num_cols to 400 for finer detail in image output
- Add scale parameter (1=smaller chars, 2=larger) for flexible output
- Apply same PIL compatibility fixes to video2video.py and video2video_color.py
- Maintain backward compatibility with original algorithms

Co-Authored-By: Claude <noreply@anthropic.com>
@bob60bob123
Copy link
Copy Markdown
Author

  • Fix PIL ImageFont.getsize() deprecation by replacing with getbbox()
  • Add contrast enhancement (CLAHE) to img2img.py for better B&W output
  • Increase default num_cols to 400 for finer detail in image output
  • Add scale parameter (1=smaller chars, 2=larger) for flexible output
  • Apply same PIL compatibility fixes to video2video.py and video2video_color.py
  • Maintain backward compatibility with original algorithms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant