Skip to content
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

[Feature] Skip first blank page #7718

Open
RWoof opened this issue Feb 3, 2025 · 8 comments
Open

[Feature] Skip first blank page #7718

RWoof opened this issue Feb 3, 2025 · 8 comments
Labels
Enhancement Improvement or Feature

Comments

@RWoof
Copy link

RWoof commented Feb 3, 2025

Is your feature request related to a problem? Please describe.
Downloads from Viz always seem to have a blank first page.

Describe the solution you'd like
I'd like an option to automatically skip the first page if it's blank.

Describe alternatives you've considered
Currently I'm having Komga delete the page as a duplicate page each time, but it would still be better if Hakuneko could autodetect that it was blank and just not add it to the file.

Context (please complete the following information):
HakuNeko Version master@f910d0c

@RWoof RWoof added the Enhancement Improvement or Feature label Feb 3, 2025
@MikeZeDev
Copy link
Contributor

Note for myself : check if possible in Haruneko/ not done already.

@Sheepux
Copy link
Contributor

Sheepux commented Feb 4, 2025

Note for myself : check if possible in Haruneko/ not done already.

I dont think so. But having a global "ban hash <...>" feature would be nice
The current mangahere page removal is dirty.
https://github.com/manga-download/haruneko/blob/master/web/src/engine/websites/decorators/DM5.ts#L60-L65
If we had a more global hash detector it could include this usecase

@MikeZeDev
Copy link
Contributor

I think there was a website where the blank page was name "white_page" so if its VIz its easy to filter.

Its not so simple to filter white page. Website may use nuances of white :D. Hash change with every little variation of the file.

@Sheepux
Copy link
Contributor

Sheepux commented Feb 4, 2025

What i mean is that user could rightclick: <ban image's hash>

@MikeZeDev
Copy link
Contributor

Brilliant.

@MikeZeDev
Copy link
Contributor

Shower though : Imagine having to check all images of a chapter for banned hash, on manhwa chapters which can have like 100 pages, on volumes. Much processing power and time needed.

@Sheepux
Copy link
Contributor

Sheepux commented Feb 6, 2025

md5 can process 400 MB/s on a Intel i7 950 3.05GHz from 2009 (3ghz 4core/8t)

@MikeZeDev
Copy link
Contributor

Yeah but thats something to consider 🤷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Improvement or Feature
Projects
None yet
Development

No branches or pull requests

3 participants