newtx/docs/sane-opts/auto_crop.txt

145 lines
3.2 KiB
Plaintext

{
"is-anti-skew": {
"cat": "imgp",
"group": "imgp",
"title": "自动纠偏",
"desc": "自动纠正歪斜送入的文稿图像",
"type": "bool",
"pos": 30,
"fix-id": 34844,
"ui-pos": -1,
"auth": 0,
"size": 4,
"cur": true,
"default": true,
"depend": "page!=对折"
},
"is-erase-black-frame": {
"cat": "imgp",
"group": "imgp",
"title": "消除黑框",
"desc": "消除文稿范围外的黑色背景",
"type": "bool",
"pos": 35,
"fix-id": 34849,
"ui-pos": -1,
"auth": 0,
"size": 4,
"cur": true,
"default": true
},
"bkg-fill-mode": {
"cat": "imgp",
"group": "imgp",
"title": "背景填充方式",
"desc": "选择背景填充方式",
"type": "string",
"pos": 36,
"fix-id": 34854,
"ui-pos": -1,
"auth": 0,
"size": 16,
"cur": "凸多边形",
"default": "凸多边形",
"range": ["凸多边形", "凹多边形"],
"depend": "is-erase-black-frame==true"
},
"threshold": {
"cat": "imgp",
"group": "imgp",
"title": "阈值",
"desc": "文稿底色与黑色背景灰度值的差值大于该值,才会被识别为文稿",
"type": "int",
"pos": 37,
"fix-id": 34851,
"ui-pos": -1,
"auth": 0,
"size": 4,
"cur": 40,
"default": 40,
"range": {
"min": 30,
"max": 50,
"step": 1
},
"depend": "is-erase-black-frame==true||paper==匹配原始尺寸||paper==最大扫描尺寸||paper==最大扫描尺寸自动裁切||is-anti-skew==true"
},
"anti-noise-level": {
"cat": "imgp",
"group": "imgp",
"title": "背景抗噪等级",
"desc": "能够容忍的背景杂色条纹的宽度",
"type": "int",
"pos": 38,
"fix-id": 34852,
"ui-pos": -1,
"auth": 0,
"size": 4,
"cur": 8,
"default": 8,
"range": {
"min": 2,
"max": 20,
"step": 1
},
"depend": "is-erase-black-frame==true||paper==匹配原始尺寸||paper==最大扫描尺寸||paper==最大扫描尺寸自动裁切||is-anti-skew==true"
},
"margin": {
"cat": "imgp",
"group": "imgp",
"title": "边缘缩进",
"desc": "寻找文稿边缘时对边缘的侵入程度",
"type": "int",
"pos": 40,
"fix-id": 34853,
"ui-pos": -1,
"auth": 0,
"size": 4,
"cur": 5,
"default": 5,
"range": {
"min": 2,
"max": 30,
"step": 1
},
"depend": "is-erase-black-frame==true||paper==匹配原始尺寸||paper==最大扫描尺寸||paper==最大扫描尺寸自动裁切||is-anti-skew==true"
},
"paper": {
"cat": "base",
"group": "base",
"title": "纸张尺寸",
"desc": "设置出图大小",
"type": "string",
"pos": 1000,
"fix-id": 34831,
"ui-pos": -1,
"auth": 0,
"size": 44,
"cur": "匹配原始尺寸",
"default": "匹配原始尺寸",
"range": ["A3", "8开", "A4", "16开", "A5", "A6", "B4", "B5", "B6", "Letter", "Double Letter", "LEGAL", "匹配原始尺寸", {
"resolution<500": "最大扫描尺寸自动裁切"
}, {
"resolution<500": "最大扫描尺寸"
}, {
"resolution<500": "三联试卷"
}]
},
"lateral": {
"cat": "base",
"group": "base",
"title": "横向",
"desc": "横向放置纸张",
"type": "bool",
"pos": 1000,
"fix-id": 34924,
"ui-pos": -1,
"auth": 0,
"affect": 6,
"visible": 0,
"size": 4,
"cur": false,
"default": false,
"depend": "paper==A4 || paper==16开 || paper==A5 || paper==A6 || paper==B5 || paper==B6 || paper==Letter"
}
}