Skip to content

Prints out distorted colors on Mac terminal #22

@yolicap

Description

@yolicap

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 default Mac terminal

View from PyCharm terminal
View from PyCharm terminal

  • Device: MacBookPro15
  • OS: macOS Catalina 10.15.7 19H1417 x86_64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions