mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-06-13 13:47:47 +02:00
feat: force image format
This commit is contained in:
@ -123,6 +123,10 @@
|
||||
"name": "Merge Overlays",
|
||||
"description": "Combines the text and the media of a Snap into a single file"
|
||||
},
|
||||
"force_image_format": {
|
||||
"name": "Force Image Format",
|
||||
"description": "Forces images to be saved as a specific format"
|
||||
},
|
||||
"chat_download_context_menu": {
|
||||
"name": "Chat Download Context Menu",
|
||||
"description": "Allows to download messages from a conversation by long pressing them"
|
||||
|
@ -22,6 +22,9 @@ class DownloaderConfig : ConfigContainer() {
|
||||
).apply { set(mutableListOf("append_hash", "append_date_time", "append_type", "append_username")) }
|
||||
val allowDuplicate = boolean("allow_duplicate")
|
||||
val mergeOverlays = boolean("merge_overlays") { addNotices(FeatureNotice.MAY_CAUSE_CRASHES) }
|
||||
val forceImageFormat = unique("force_image_format", "jpg", "png", "webp") {
|
||||
addFlags(ConfigFlag.NO_TRANSLATE)
|
||||
}
|
||||
val chatDownloadContextMenu = boolean("chat_download_context_menu")
|
||||
val logging = multiple("logging", "started", "success", "progress", "failure").apply {
|
||||
set(mutableListOf("started", "success"))
|
||||
|
Reference in New Issue
Block a user