Hi.
Well i´ve written a little program on my linux machine which uses
my_image = “20061002_122234_No_1.jpg”
Image.read(my_image)
This isn´t really complicated… and it works (at least on my linux
machine).
On windows the beahvior ist really strange…
it t works with
my_image=“test.jpg”
but with
my_image = “20061002_122234_No_1.jpg”
it doesn´t…
really strange is the error with different paths (relative, absolute,
with “\” or with “/”…)
All of them don´t work with the image and all of them produce a sort of
file/directory not found. And in the error message it also writes down
the file which couldn´t be found. And now the obscure part.
Depending of the part it writes 234_No_1.jpg or 61002_122234_No_1.jpg or
something like 2234_No_1.jpg not found…
Sure it can´t be found. It´s not even the name of the image … and the
path is gone too …
So is there a problem with ruby ? windows ? rmagick ?
I don´t know, otherwise i wouldn´t ask.
I guess there isn´t a “real” ruby problem, otherwise there would be a
problem using linux too…
So is it rmagick ?
for the same reason there shouldn´t…
Leaves windows …
But windows can handle such file names…
So there isn´t a problem at all ?
Since i have this problem there should be a problem in the windows
version of ruby or rmagick or in the combination of all three…
Any ideas ?
Thanks
Marinho