Skip to content

Refactor Everything#106

Open
jessezach wants to merge 1 commit into
masterfrom
refactor
Open

Refactor Everything#106
jessezach wants to merge 1 commit into
masterfrom
refactor

Conversation

@jessezach
Copy link
Copy Markdown
Owner

@jessezach jessezach commented May 19, 2023

An attempt to move all the code from init.py to relevant files and make it easier to understand the code. Also lay the foundations of adding tests for everything

Comment thread RobotEyes/utils.py
im = Image.open(base_image)
b_width, b_height = im.size
if width != b_width or height != b_height:
im = im.resize((width, height), Image.ANTIALIAS)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See #108

Suggested change
im = im.resize((width, height), Image.ANTIALIAS)
im = im.resize((width, height), Image.LANCZOS)

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.

2 participants