nasa-apod-desktop icon indicating copy to clipboard operation
nasa-apod-desktop copied to clipboard

Skip the resize part

Open Anlaoui opened this issue 9 years ago • 2 comments

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 :-)

Anlaoui avatar Nov 22 '15 13:11 Anlaoui

@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 !

Galex1223 avatar Jun 04 '18 04:06 Galex1223

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

Anlaoui avatar Jun 05 '18 16:06 Anlaoui