xuzhengyi1995 / Manga_downloader

A Manga download framework using selenium.
607 stars 57 forks source link

Low Resolution #147

Open ZXKeyr324XZ opened 1 year ago

ZXKeyr324XZ commented 1 year ago

I'm trying to download the previews of the manga "Helck", but the image Manga downloader outputs is of much lower resolution than what Bookwalker actually has, as when I zoom in using Bookwalker's zoom-in feature, I can see the individual dots that make up the half-tone, but when I zoom in on the ripped pages on an image editing software, it looks smoothed out and not as crisp

image Bookwalker image

Ripped page

Lucky2307 commented 1 year ago

Have you tried increasing the res parameter here? https://github.com/xuzhengyi1995/Manga_downloader/blob/883ed9205d630e85a3666068cf34bb00ec64f9cd/main.py#L21C24

The way this work is that it takes a screenshot of the headless browser window. So the size of the window denotes the size of the result image. Though, from what I know, the size of the browser window is limited to your display's resolution. image The left image is with a lower resolution setting, the right is the highest that my display allow. You can see the screen toning on the higher res setting is less smoothened and the text is more readable.

Plus, screen toning in general is finicky with up/downscaling. Therefore, unless we can somehow get the original file (or display it in the original size), it will never look as good as it meant to be.