img
img copied to clipboard
Prints out distorted colors on Mac terminal
Describe the bug DrawImage.draw_image() seems to fail when using the default Mac terminal. It almost seems that colors are printed at random. However, the output from PyCharm terminal had no issue printing the image.
To Reproduce
Using Mac terminal. I ran the following lines of code:
from image import DrawImage
pfp = DrawImage.from_url(url-to-image, (32, 32))
pfp.draw_image()
View from Mac default terminal
View from PyCharm terminal
- Device: MacBookPro15
- OS: macOS Catalina 10.15.7 19H1417 x86_64
Message that will be displayed on users first issue
Thanks for opening the issue, I'll look into it
Can you please run the program on another terminal emulator(preferably iterm) and send the results to make sure that the problem isn't with the mac terminal. Thanks.
I tried it out with iterm, seems to work better (https://iterm2.com/
).
Here are the results:
sorry, i didn't mean to close the issue...
The reason might be that ANSI colors is disabled in your mac terminal settings. You might have to check that.