Skip to content

Conversation

@FadedSociety
Copy link

No description provided.

Comment on lines 148 to 155
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
Copy link
Contributor

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)

Copy link
Contributor

@Robonau Robonau Sep 29, 2025

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

@dejavui
Copy link
Contributor

dejavui commented Sep 29, 2025

You should create a new branch, not use the master branch to create pull requests (⌐■_■)

Copy link
Author

@FadedSociety FadedSociety left a 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
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.

5 participants