randomdrake / nasa-apod-desktop

Automatically downloads and sets the NASA picture of the day (APOD) as your desktop in Ubuntu.
Apache License 2.0
148 stars 62 forks source link

Skip the resize part #12

Open Anlaoui opened 9 years ago

Anlaoui commented 9 years ago

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 commented 6 years ago

@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 commented 6 years ago

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