pigallery2: PNGs seem to be broken for me
Hi, I’m loving PiGallery 2, but for some reason it seems on my install it can’t read PNGs (different browser makes no difference, tested with FF and Chromium, the PNGs in question display fine when dropped directly into the browser or opened with other software):

I’m running on Docker (x86) bpatrik/pigallery2:latest-alpine-tag, the log says:
[Error: Input file contains unsupported image format]
1/18/2022, 2:50:46 PM[ERROR][FileJob] Error during processing file:/app/data/images/[path]/[filename].png, Error: Input file contains unsupported image format
or sometimes:
1/18/2022, 5:22:17 PM[WARN_] Handled error:
ErrorDTO {
code: 8,
message: 'Error during generating thumbnail: /app/data/images/[path]/[filename].png',
details: 'Error: Input file contains unsupported image format',
request: { method: '', url: '' },
detailsStr: 'Error: Input file contains unsupported image format'
}
Any idea what might be the issue, what I could do to further troubleshoot this? Thanks!
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 28 (16 by maintainers)
Command ‘cpuinfo’ not found, did you mean:
command ‘cpu-info’ from deb cpuinfo (0.0~git20190201.d5e37ad-2) command ‘cpcinfo’ from deb python3-zhmcclient (0.22.0-0ubuntu1)
Try: sudo apt install <deb name>
by maybe this
lscpu | grep --color "sse"no
sse4_2You can try removing the restart: Always from the compose file. So it won’t keep restarting when the app dies.
– Sorry for being brief, sent from my phone.
Dedy Martadinata S @.***> ezt írta (időpont: 2022. márc. 13., V 13:09):
I have the same issue but only on bpatrik/pigallery2:1.9.0-alpine
When I switch back to bpatrik/pigallery2:1.8.2-alpine or to bpatrik/pigallery2:1.8.5-alpine the PNG files are working correctly
The PNG issue is NOT on bpatrik/pigallery2:latest-debian-buster
Nightly is not working on my host otherwise I would try that one.
The host is No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.4 LTS Release: 20.04 Codename: focal