This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # list of the platforms: https://go.dev/doc/install/source#environment | |
| platforms=( | |
| "aix:ppc64" | |
| "android:386" | |
| "android:amd64" | |
| "android:arm" | |
| "android:arm64" | |
| "darwin:amd64" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "delay": 5, | |
| "path": "D:\\Backgrounds\\" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| from PIL import Image | |
| os.chdir(input('Enter the full path to the folder with images: ')) | |
| for path in os.listdir(): | |
| extension = path.split('.') | |
| if extension[-1].lower() != 'png': |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| from PIL import Image | |
| import pillow_heif | |
| os.chdir(input('Enter the full path to the folder with heic-images: ')) | |
| for path in os.listdir(): | |
| extension = path.split('.') | |
NewerOlder