changeset 216:3adc76e1a7c7

imread now uses tilde_expand
author hauberg
date Sat, 23 Dec 2006 12:19:40 +0000
parents 36e566b5d9d3
children 93ec20b95b4a
files inst/imread.m
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/inst/imread.m
+++ b/inst/imread.m
@@ -43,6 +43,7 @@
 	error("imread: filename must be a string")
     endif
 
+    filename = tilde_expand(filename);
     fn = file_in_path(IMAGE_PATH, filename);
     if isempty(fn)
 	error("imread: cannot find %s", filename);