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

Added upscale scripts and sample config file for gallery-dl. #62

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ItsKaa
Copy link
Contributor

@ItsKaa ItsKaa commented Nov 9, 2024

This may be a little bit messy so feel free to decline.

It's not a proper implementation or anything but it gives users the option to use upscaling during the gallery-dl download process. A better solution would be one where it modifies an existing post but it's not something I currently care to implement.

I did hard-code it to call waifu2x-ncnn-vulkan within the script, maybe that could be modified but this is just a way to set it up. It's disabled by default as it's a sample config file along with some additional python scripts for archive extraction and upscaling. Works well alongside #61.

While running this on a VM with no GPU, I noticed that JPG conversion is required for PNG files, and I did it in the upscale script because I couldn't be bothered to write a separate script for it because it'd also have to rename the metadata for it and then also handle the same for each file in the archives.

@reluce reluce self-assigned this Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants