diff scripts/image/saveimage.m @ 7061:005c785b8d81

[project @ 2007-10-24 19:00:12 by jwe]
author jwe
date Wed, 24 Oct 2007 19:00:12 +0000
parents a1dbe9d80eee
children fa78cb8d8a5c
line wrap: on
line diff
--- a/scripts/image/saveimage.m	Wed Oct 24 17:51:05 2007 +0000
+++ b/scripts/image/saveimage.m	Wed Oct 24 19:00:12 2007 +0000
@@ -115,7 +115,7 @@
   ## If we just want Octave image format, save and return.
 
   if (strcmp (img_form, "img"))
-    eval (strcat ("save -ascii ", filename, " map img"));
+    save ("-text", filename, "map", "img");
     return;
   endif