Closed Letsplaybar closed 1 year ago
Thanks!
https://github.com/xuzhengyi1995/Manga_downloader/commit/e301e20c969e7febc16ed42ac83687bf382b2a70 Why was the commit not taken over? you still have to adjust the init method so that it can handle the new value.
e301e20 Why was the commit not taken over? you still have to adjust the init method so that it can handle the new value.
Will cherry pick this commit, thanks!
The change I made ensures that instead of entering a fixed value for cut_image, you can say that the image should be dynamically cropped. For this it takes the first image (should be the cover) and looks at where a white border exists and returns this as a bbox so that the crop method knows where to remove the white border and takes over the values for the rest of the band. This way, if you dump several series, the programme can easily ensure that you no longer have a white border in any manga.
to get the above you only have to set cut_image = 'dynamic'.