Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

312, 322 lines in helpers.py. #2

Closed
lottopotato opened this issue Jul 10, 2019 · 1 comment
Closed

312, 322 lines in helpers.py. #2

lottopotato opened this issue Jul 10, 2019 · 1 comment

Comments

@lottopotato
Copy link

Thank you. It is a cool code.
I find 314, 324 lines in helpers.py is strange.

for y in range(int(pixel_h / 2), pattern.width, pixel_h):

sample_y = min(pattern.width-1, max(0, sample_y))

I think maybe it's height. than width.

Again thank to.

@glederrey
Copy link
Owner

Hi,

Thanks a lot. That was definitely an issue. I never tried to build a rectangle image. =)

The issue has been fixed now. Thanks again!

glederrey added a commit that referenced this issue Jul 10, 2019
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

No branches or pull requests

2 participants