Crashes when converting
When converting, there is a chance the program will crash.
When mass converting, sometimes it won't even finish the first file.
cbconvert convert --format jxl --height 1800 --outdir output/ .
cbconvert 1.1.0
bug.txt
Without the archive or at least the broken image, there is not much I can do. It looks like it panics on some png file. If that is the case, I cannot do much, though. I didn't write the PNG decoder, but it would still be helpful if that is the case.
The weird thing is, it's "sometimes" crashing. Not always. Finished converting my ~40 comics, only ~10 of them are crashing. All my comic are 40+ pages in PNG format. Idk if that relevant or not.
But here is an example one of the comic
If this file doesn't give the same crashes, try multiple files. It might take a few attempt to replicate it.
Thanks. I downloaded the file; you can delete it. I will try to reproduce the issue.
I cannot reproduce it. Are you sure it crashed on this file? I use the app daily to convert hundreds and thousands of comics, though, I never deal with pngs.
Huh, that's weird. It only took me 3 attempt with the same file to make it crashes
Edit:
I just do a quick experiment. Doing 50 convert in batches of 10 with different format. With the same file. JXL: 5 out of 5 try, crashes AVIF: 0 out of 5 try, no crashes (much faster than JXL) WEBP: 0 out of 5 try, no crashes JPEG: 0 out of 5 try, no crashes