Closed ericzolf closed 3 years ago
Do you happen to have a png in your source directory?
No, only JPG directly from a Canon camera. After your remark, I thought it might be due to a stray PNG in the current directory but it isn't either the case. I tried different source directories, and I always get the same issue. At the end I ended in an empty directory calling lazygal --webalbum-pic-bg=black /some/directory/with/two/random/jpegs
and still got the issue.
Trying the same thing with a directory of PNG files, I get mostly the same error, sometimes with mode P
instead of mode RGBA
. I guess it depends on the type of PNG, I have 8-bit Gray 256c
, 8-bit sRGB
and 8-bit sRGB 2c
, and only the last one gives me the P-mode, the others have RGBA.
I won't have access to my laptop for about one week and will get back to you then if I cannot reproduce.
Should be fixed, thanks!
I'm new to lazygal so I might have misunderstood something, but if I generate exactly from the same source directory, it works, but not with
--webalbum-pic-bg
:I tried different colors: black, Black, #000, DarkBlue, all give the same result (I removed the target directory before each try)
lazygal-0.10.2-1.fc34.noarch (Fedora 34), Python 3.9 and the following dependencies: