summaryrefslogtreecommitdiff
path: root/macros/imwrite.sci
diff options
context:
space:
mode:
Diffstat (limited to 'macros/imwrite.sci')
-rw-r--r--macros/imwrite.sci4
1 files changed, 4 insertions, 0 deletions
diff --git a/macros/imwrite.sci b/macros/imwrite.sci
new file mode 100644
index 0000000..24e9100
--- /dev/null
+++ b/macros/imwrite.sci
@@ -0,0 +1,4 @@
+function imwrite(img,pstData)
+ image = mattolist(img)
+ opencv_imwrite(image,pstData)
+endfunction