-
Notifications
You must be signed in to change notification settings - Fork 293
Real ESRGAN Support Suwayomi - Updated with fixes #1684
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
base: master
Are you sure you want to change the base?
Conversation
server/server-config/src/main/kotlin/suwayomi/tachidesk/server/ServerConfig.kt
Show resolved
Hide resolved
| var currentImage = image | ||
| var currentMimeType = image.second | ||
|
|
||
| // Step 1: Check if HTTP upscaling is configured | ||
| val conversions = serverConfig.downloadConversions.value | ||
| val defaultConversion = conversions["default"] | ||
| val imageType = image.second | ||
| val conversion = conversions[imageType] ?: defaultConversion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better than what you had in #1678, but I think it would make sense to allow both upscaling and converting, i.e. first upscale if desired, then convert (as mentioned on discord)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
its not really specifically for upscaling, a converter server could also do the conversion to webp or whatever
my use-case for this feature would be just to have access to all the options when converting to webp that the current conversion system hides
|
You should create a new branch, not use the master branch to create pull requests (⌐■_■) |
fixed deletions caused by ide
FadedSociety
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
# Conflicts: # server/server-config/src/main/kotlin/suwayomi/tachidesk/server/ServerConfig.kt
No description provided.