Empty PNG images, various defects in JPG images and so on require pre-verification, else Fussel throws errors later and stops generating its gallery.
It might be better to not use the second transpose hack that is only to get pillow to validate the image better, however verify alone did not do the job and I preferred this more complete pre-verification to catching errors later. Maybe I just don't know Pillow well enough and there is another way. Or maybe all the steps themselves could catch errors and revert/delete the so far generated data as appropriate.
Empty PNG images, various defects in JPG images and so on require pre-verification, else Fussel throws errors later and stops generating its gallery.
It might be better to not use the second transpose hack that is only to get pillow to validate the image better, however verify alone did not do the job and I preferred this more complete pre-verification to catching errors later. Maybe I just don't know Pillow well enough and there is another way. Or maybe all the steps themselves could catch errors and revert/delete the so far generated data as appropriate.