• Post Reply Bookmark Topic Watch Topic
  • New Topic

A Challenging Image I/O problem

 
Khalid Shafquat
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Developers,
im having some serious kind of problem , with IMAGE Processing using java. What im doing is, that im using a client server application , over TCP/IP through Sockects , I have Image Data saved in the Database in BLOB format I read that data and make a BMP file (or GIF,JPG depending on format ) locally on the client side and Transmit it to Server through the streams. At server end the file is created again and is used by some application. This works fine as far as we were working with Client/Server on IBM OS/2 (Operating System) but, and also between OS/2 Client and WINDOWS 98 Server and vise versa. Problem starts when we introduce Windows2000 on either side, what happens the file created on Win2000 PC and transmitted to OS/2 or Windows98 Client/Server become distorted due to some reason.The only Format that is still working is BMP format, so what i thought that i should convert JPEG and GIF images to BMP , but i couldnt find and solution till now. What i have sorted out that its happening due to the WIN2000 , as the same file before transmission can be seen locally on WIN2000. So, I am stucked with this problem, as its the most important part of the application.
I have tried almost every thing with javax.imageio package and ....blaaah blaah ...but what i couldnt fine solution for this.
So please help us out in this problem and let me know if any one have any solution about the problem.
I will be thankful to the person /Team /Organization.
Khalid Shafquat
 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Khalid,
What sort of IO streams are you using? Buffered, Filter, Object? We need a little more info to figure this one out. Maybe you could post a snippet of code where you tranmit the image.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!