mono/packages/media/integration/salamander-menu-sample.json
2025-08-11 17:19:38 +02:00

53 lines
1.8 KiB
JSON

{
"baseKey": "HKEY_CURRENT_USER\\Software\\Altap\\Altap Salamander 4.0\\User Menu",
"startIndex": 5,
"items": [
{
"name": "Background Remove (Bria)",
"command": "pm-media",
"arguments": "background:remove:bria --alt=true --logLevel=info --src=\\\"$(FullName)/**/*.+(&{IMAGES})\\\" --dst=\\\"&{SRC_DIR}/&{SRC_NAME}_nobg.png\\\" --jpg",
"initialDirectory": "$(FullPath)",
"executeThoughShell": true,
"closeShellWindow": false,
"openShellWindow": true,
"icon": "",
"showInToolbar": true
},
{
"name": "Convert Tools",
"children": [
{
"name": "To WebP",
"command": "pm-media",
"arguments": "convert --alt=true --logLevel=info --src=\\\"$(FullName)/**/*.+(&{IMAGES})\\\" --dst=\\\"&{SRC_DIR}/&{SRC_NAME}.webp\\\"",
"initialDirectory": "$(FullPath)",
"executeThoughShell": true,
"closeShellWindow": true,
"openShellWindow": true,
"showInToolbar": true
},
{
"name": "To PNG",
"command": "pm-media",
"arguments": "convert --alt=true --logLevel=info --src=\\\"$(FullName)/**/*.+(&{IMAGES})\\\" --dst=\\\"&{SRC_DIR}/&{SRC_NAME}.png\\\"",
"initialDirectory": "$(FullPath)",
"executeThoughShell": true,
"closeShellWindow": true,
"openShellWindow": true,
"showInToolbar": true
}
]
},
{
"name": "PDF to Images",
"command": "pm-media",
"arguments": "pdf2jpg --alt=true --logLevel=info --src=\\\"$(FullName)\\\" --dst=\\\"&{SRC_DIR}/&{SRC_NAME}\\\"",
"initialDirectory": "$(FullPath)",
"executeThoughShell": true,
"closeShellWindow": false,
"openShellWindow": true,
"showInToolbar": true
}
]
}