ascii_art
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
ascii_art [2023/03/24 10:53] – frchris | ascii_art [2023/03/24 10:56] – frchris | ||
---|---|---|---|
Line 35: | Line 35: | ||
==== Step 0. Choose an image ==== | ==== Step 0. Choose an image ==== | ||
==== Step 1. Read your image and print its height and width in pixels ==== | ==== Step 1. Read your image and print its height and width in pixels ==== | ||
- | ==== Step 2. Read your image and print its height and width in pixels | + | ==== Step 2. Load your image’s pixel data into a 2-dimensional array ==== |
- | ==== Step 3. Read your image and print its height and width in pixels ==== | + | ==== Step 3. Convert the RGB tuples of your pixels |
- | ==== Step 4. Read your image and print its height and width in pixels | + | ==== Step 4. Convert brightness numbers to ASCII characters |
+ | ==== Step 5. What if it looks your image looks squashed? | ||
[[https:// | [[https:// |
ascii_art.txt · Last modified: 2023/03/27 10:46 by frchris