Skip to content

Conversation

@jessezach
Copy link
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

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
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.

3 participants