Hi Vitali, I finally was able to solve the problem.
Actually i had converted the bytestream to a string as an intermediate step. Then was converting the string back to a bytestream before writing this to a file. During this process, i used to lose some data i guess. I changed the code so that the data gets into the file directly from the original bytestream and it worked perfectly well. Thanks anyways, for your suggestions!! regards, Abhiram On Sun, May 10, 2009 at 10:06 AM, abhiram <[email protected]> wrote: > > hi vitali, > > i am sure there is no problem with my viewer. I believe the data is > getting tampered when recieved by the servlet. Further, one more thing > that i noticed was that, if the image is of low quality say a "16 > Color Bitmap" image, then the data is getting transferred almost > perfectly and the image is being seen perfectly. So,i thought, higher > the resolution, the data is getting tampered... > > Please let me know if something needs to be done at the servlet side > coding for capturing the data perfectly... > > On May 10, 9:16 am, Vitali Lovich <[email protected]> wrote: > > do a binary diff. if they are the same, then there's a problem with your > > viewer. > > > > > > > > On Sat, May 9, 2009 at 6:20 AM, abhiram <[email protected]> wrote: > > > > > Hi all, > > > > > I am trying an image upload application, where in I am > > > transferring .jpg / .bmp images to a location on the server. But when > > > i do that I see that the quality of the image is lost. When i compare > > > the two images i see that both are of same size. Not sure, why this > > > thing is happening. Can anyone please suggest what might be a possible > > > solution?- Hide quoted text - > > > > - Show quoted text - > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
