Google-drive – “High quality” setting when upload image to Google Drive

google-drivegoogle-photosimages

I wrote a script to upload images to my Google Drive account. However, the storage space is limited and it'll soon be full if I keep uploading images.

I know that in Google Photo, you have a setting called "High Quality", which will automatically compress your images after they're uploaded, and the space for those "High Quality" images with be unlimited. Is there a way to achieve it with Google Drive? Since images uploaded to Google Drive are showed up on Google Photos as well?

Best Answer

Instead of using a custom script have you tried the Google Photo Upload App for Desktop?

When setting up the app it asks if you would like to choose the High Quality option.

Once uploaded you can then see them in your Drive by selecting "Google Photos" from the left navigation bar.

enter image description here