Closed fastchain closed 3 years ago
I think I know what the problem is. It seems I'm not handling some specific PNG formats correctly. I'll try to reproduce and fix later today.
The problem is fixed in version 1.4.1 which I just released. There was a bug handling PNG files in RGBA format.
To update, please run the following command:
pip install simple-photo-gallery --upgrade
I'll be happy about feedback if your issue is solved :)
Thank you!
Now It's much better, but I still have issues with one PNG file
gallery-build
Building the Simple Photo Gallery...
Generating thumbnails...
/home/kkk/.local/share/virtualenvs/png-xZ0E5gSA/lib/python3.8/site-packages/PIL/Image.py:962: UserWarning: Palette images with Transparency expressed in bytes should be converted to RGBA images
warnings.warn(
Something went wrong while generating the thumbnails: cannot identify image file './public/images/photos/modularcolorexchange__2___1_.png'
I had to remove this file from folder to build gallery successfully.
If you'll need the problem file, I've uploaded it here: https://drive.google.com/file/d/1eK4iyy1Jdm7HbyXVFbuWxuouyp_3z-lf/view
Thank you.
Hello,
I'm running the following commands (according to instructions) and get this:
What am I doing wrong?
Thank you!
(png folder filled with *.png files)