Filip
Interesting. I tried a little program to read in a small gif, store it in
the database and then get it back and put it in a file. When I used
InstantDB's native driver this worked fine, but just like you, when I tested
using the RmiJdbc driver I got some corruption (oddly enough the top of the
gif was fine and the bottom half was displaced to the right by about 50% - I
don't know enough about gifs to know what this means though).
I've copied Pierre-Yves Gibello on this, just in case this is a known
problem. If I get a chance, I'll look into this further.
Regards
Peter Hearty
Lutris Technologies (UK)
----- Original Message -----
From: <filip.vandamme@barco.com>
To: <instantdb@enhydra.org>
Sent: Friday, August 25, 2000 9:21 AM
Subject: InstantDB: image data type
> Dear Madam/Sir,
>
> Having defined a table column of the data type IMAGE and having
> inserted a gif image into it through a
> prepared statement and as a BinaryStream, I seem to get a corrupted
> image upon retrieval.
>
> The image retrieved through a getBinaryStream, is identical in size
> to the one stored, yet seems to have
> been changed in contents.
>
> I'm using RmiJdbc.RJDriver and updated to " Enhydra InstantDB -
> Version 3.20 beta 1" but that didn't
> seem to solve the problem. Also, I'm using JDK 1.2.2.
>
> Highly appreciating any advice,
>
> Best regards
> Filip Vandamme
> Barco Graphics/ETS
> Belgium
>
> --------------------------------------------------------------------------
---
> To unsubscribe from this mailing list, send email to majordomo@enhydra.org
> with the text "unsubscribe instantdb" in the body of the email.
> If you have other questions regarding this mailing list, send email to
> the list admin at owner-instantdb@enhydra.org.
>
simple.java
|