summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryo mama <pepper@scannerjammer.com>2016-10-02 09:37:27 -0700
committeryo mama <pepper@scannerjammer.com>2016-10-02 09:37:27 -0700
commitc990fd1cf181414f241d6279673da301d9e831d3 (patch)
tree00675cb4683194f26991f8188f11d754c455d76a
parentbdca51266952a8043a8a204dc34e0c2482e54920 (diff)
fixed it
-rwxr-xr-xphotoblaster/modules/pbthresh/__init__.py2
-rw-r--r--share/frontend/imthresh/img/generating.gifbin198082 -> 158268 bytes
-rw-r--r--share/frontend/imthresh/index.html7
3 files changed, 7 insertions, 2 deletions
diff --git a/photoblaster/modules/pbthresh/__init__.py b/photoblaster/modules/pbthresh/__init__.py
index 02028d0..c8d4a18 100755
--- a/photoblaster/modules/pbthresh/__init__.py
+++ b/photoblaster/modules/pbthresh/__init__.py
@@ -41,7 +41,7 @@ class PbThresh(ModuleBase):
'type': 'enum',
'default': 'fuzzy',
'enum_values': [
- '2color', 'fuzzy', 'isodata',
+ 'two-color', 'fuzzy', 'isodata',
'kapur', 'kmeans', 'local',
'otsu', 'ptile', 'sahoo',
'triangle'
diff --git a/share/frontend/imthresh/img/generating.gif b/share/frontend/imthresh/img/generating.gif
index a944dd8..a0e5cda 100644
--- a/share/frontend/imthresh/img/generating.gif
+++ b/share/frontend/imthresh/img/generating.gif
Binary files differ
diff --git a/share/frontend/imthresh/index.html b/share/frontend/imthresh/index.html
index 45d6fa9..339d96d 100644
--- a/share/frontend/imthresh/index.html
+++ b/share/frontend/imthresh/index.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8" />
- <title>Photoblaster Concatenate</title>
+ <title>Photoblaster Threshold</title>
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
@@ -177,6 +177,11 @@
"triangle"
]
},
+ "finalformat": {
+ "type": "string",
+ "title": "Final Image Format:",
+ "enum": [ "gif", "jpg", "png" ]
+ },
"username": {
"type": "string",
"title": "Username:"