• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
2// Copyright (c) 2015, 2017 Samuel Thibault <samuel.thibault@ens-lyon.org>
3//
4// Permission is hereby granted, free of charge, to any person obtaining a copy
5// of this software and associated documentation files (the "Software"), to deal
6// in the Software without restriction, including without limitation the rights
7// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8// copies of the Software, and to permit persons to whom the Software is
9// furnished to do so, subject to the following conditions:
10//
11//
12// The above copyright notice and this permission notice shall be included in
13// all copies or substantial portions of the Software.
14//
15//
16// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
19// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22// THE SOFTWARE.
23//
24
25Group "Image/Image conversion"
26
27Option "GraphicDotDistance/Graphic dot distance" PickOne AnySetup 10
28  Choice "160/1.6mm" ""
29  *Choice "200/2.0mm" ""
30  Choice "250/2.5mm" ""
31
32Option "Rotate/Rotation" PickOne AnySetup 10
33  Choice "0/No rotation" ""
34  *Choice "90>/Rotate clockwise to fit paper" ""
35  Choice "270>/Rotate counter clockwise to fit paper" ""
36  Choice "90/Clockwise" ""
37  Choice "270/Counter clockwise" ""
38  Choice "180/Upside Down" ""
39
40Option "fitplot/Resize" Boolean AnySetup 10
41  *Choice "True/Yes" ""
42  Choice "False/No" ""
43
44Option "mirror/Mirror" Boolean AnySetup 10
45  Choice "True/Yes" ""
46  *Choice "False/No" ""
47
48Option "Edge/Edge detection" PickOne AnySetup 10
49  Choice "None/None"   ""
50  Choice "Edge/Simple" ""
51  *Choice "Canny/Canny" ""
52
53Option "Negate/Negate" Boolean AnySetup 10
54  Choice "True/Yes"   ""
55  *Choice "False/No" ""
56
57Option "EdgeFactor/EdgeFactor" PickOne AnySetup 10
58  *Choice "1/1" ""
59  Choice "2/2" ""
60  Choice "5/5" ""
61  Choice "10/10" ""
62
63Option "CannyRadius/CannyRadius" PickOne AnySetup 10
64  *Choice "0/0" ""
65  Choice "1/1" ""
66  Choice "2/2" ""
67
68Option "CannySigma/CannySigma" PickOne AnySetup 10
69  Choice "0/0" ""
70  *Choice "1/1" ""
71  Choice "2/2" ""
72
73Option "CannyLower/CannyLower" PickOne AnySetup 10
74  Choice "0/0" ""
75  Choice "5/5" ""
76  *Choice "10/10" ""
77  Choice "15/15" ""
78  Choice "20/20" ""
79
80Option "CannyUpper/CannyUpper" PickOne AnySetup 10
81  Choice "10/10" ""
82  Choice "20/20" ""
83  *Choice "30/30" ""
84  Choice "40/40" ""
85  Choice "50/50" ""
86
87Option "page-top/Graphical top margin" PickOne AnySetup 10.0
88  Choice "0/0" ""
89  Choice "5/5" ""
90  Choice "10/10" ""
91  *Choice "15/15" ""
92  Choice "20/20" ""
93  Choice "25/25" ""
94  Attribute Custompage-top True ""
95  Attribute ParamCustompage-top Points "1 int 1 999"
96
97Option "page-bottom/Graphical bottom margin" PickOne AnySetup 10.0
98  Choice "0/0" ""
99  Choice "5/5" ""
100  Choice "10/10" ""
101  *Choice "15/15" ""
102  Choice "20/20" ""
103  Choice "25/25" ""
104  Attribute Custompage-bottom True ""
105  Attribute ParamCustompage-bottom Points "1 int 1 999"
106
107Option "page-left/Graphical left margin" PickOne AnySetup 10.0
108  Choice "0/0" ""
109  Choice "5/5" ""
110  Choice "10/10" ""
111  *Choice "15/15" ""
112  Choice "20/20" ""
113  Choice "25/25" ""
114  Attribute Custompage-left True ""
115  Attribute ParamCustompage-left Points "1 int 1 999"
116
117Option "page-right/Graphical right margin" PickOne AnySetup 10.0
118  Choice "0/0" ""
119  Choice "5/5" ""
120  Choice "10/10" ""
121  *Choice "15/15" ""
122  Choice "20/20" ""
123  Choice "25/25" ""
124  Attribute Custompage-right True ""
125  Attribute ParamCustompage-right Points "1 int 1 999"
126
127