No such file or directory: 'Isometry/image.png'
For package_wallpapers.py
to work, all images need to be PNG apparently. I was just testing it out:
package_wallpapers.py:22: DeprecationWarning: LANCZOS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead.
img.thumbnail((width, 247), Image.LANCZOS)
Traceback (most recent call last):
File "/build/manjaro-wallpapers/src/manjaro-wallpapers/package_wallpapers.py", line 18, in <module>
img = Image.open(os.path.dirname(filename)+"/image.png")
File "/usr/lib/python3.10/site-packages/PIL/Image.py", line 3131, in open
fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: 'Isometry/image.png'