-
-
Notifications
You must be signed in to change notification settings - Fork 328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: better cover image generation #2612
Conversation
Please attach before and afters for the cover types listed in #2139. |
Yeah, it is not perfect in every situation. At least I think we can give user an option to change between these two modes. |
That's not an avenue I'd want to go down. Could you add a check if the file is a webtoon, aka height is at least 2/3 more than width, and use the attention crop code there only? This would add benefit for webtoon users while keeping it working for comic and Manga users out of the box. |
I think it should to be "width 2/3 more than height", |
I can't understand the math you're proposing. The goal is to identify if the image is a long panel (webtoon) and apply the new logic based on that. |
Very confused, would the conditional just be |
Got it. In my opinion, the new method also works well on wide images. Maybe we can apply it when |
Hey I'm planning to take this code into a test branch sometime and tweak the code. I think there can be some benefit to this new code with a little more prodding into the source cover/archive. I want to do some pretty heavy investigation to improve webtoon cover generation and test this against more user's servers. I have no plans when (as I'm in the middle of huge code refactors to support new features), but I wanted to share that I do plan to try this PR out in full for potential inclusion. |
Thank you! @majora2007 |
Changed