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

Skip the resize part #12

Open
Anlaoui opened this issue Nov 22, 2015 · 2 comments
Open

Skip the resize part #12

Anlaoui opened this issue Nov 22, 2015 · 2 comments

Comments

@Anlaoui
Copy link

Anlaoui commented Nov 22, 2015

Hello,

Thank you for your awesome script, it's very useful!
I was just wondering if it would be possible to not resize the images, to keep them with the same ratio as on the Nasa website.
I assume that you have lots of things to do and don't have time to change the script, but maybe you could just tell me what should I do in the file, like removing this line, etc.
Again, congrats :-)

@Galex1223
Copy link

@Anlaoui

3 year later : if you still wanna do this, just comment out the
if filename is not None:
and
resize_image(filename)
code where it says:

# Download the image
filename = get_image(site_contents)
if filename is not None:
# Resize the image
resize_image(filename)

that should be the lines 417 and 419 !

@Anlaoui
Copy link
Author

Anlaoui commented Jun 5, 2018

Haha, thank you for answering! I'm not using the script anymore, but I might try it again!

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