Hello,

A few days ago I posted about problems with ReadImage and WriteImage in
the OpenDX 4.1.1 Cygwin version and I did not see any answer in my box
(possible e-mail problems at my Office) or in the mailing list archive.
I made new tests on ReadImage and WriteImage with rgb and tiff images
and I have now a better idea of what my problems could be :

1. Reading sample rgb and tiff images in /usr/local/dx/samples/data : no
problem to read these images from the /usr/local/dx/samples/data
directory (colorado.tiff and imide.rgb), but I cannot read copies of
these images when they are put in a directory lying in /cygdrive/c where
my own workspace is. Here are the errors when reading the copies from
/cygdrive/c/... :

* with imide.rgb : "Bad parameter : cannot read (h=240 x w=300) sized
image from file". But the size of the imide.rgb has been recognized !

* with colorado.tiff : "Invalid data : C standard library call, read (),
returns error"

2. I used my own net with WriteImage to produce rgb and tiff images in
my own  directory lying under /cygdrive/c : I can read my rgb image from
where it has been saved in my workspace, but I cannot read the tiff
image saved in the same directory. Reading the tiff image returns again
the same error as above.

"Invalid data : C standard library call, read(), returns error"

I guess that I may have a problem with environment variables. Here is my
installation :

* directory C:\cygwin mounted as /

* OpenDX 4.1.1 Cygwin binaries installed in /usr/local/dx. No special
variable is set, and everything seems to work well with the default
variables from the dx script, except ReadImage and WriteImage.

* My work space is under C:\(default MS name for user directory, with
spaces !) and can be accessed through /cygdrive/c/.....

Please could anybody help me to solve this environment problem ? Thanks
in advance.

Best regards.

--
 Richard GRENON
 ONERA
 Departement d'Aerodynamique Appliquee - DAAP/ACI
 BP 72, 92322 CHATILLON CEDEX - FRANCE
 phone : +33 1 46 73 42 17
 fax   : +33 1 46 73 41 46
 mailto:[EMAIL PROTECTED]
 http://www.onera.fr



Reply via email to