I have a manga book with chapter so the basic file format goes like Book\Chapter no\images.jpg.
I have figured out how i will convert it. But i batch process all the images so that the output of a specific chapter say chapter 1 comes within the same folder as chapter 1\result\result.webp.
Also the same should happen with all the folders.
Can someone help me out with this please??