• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

A Challenging Image I/O problem

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic