从远程路径上读写图片文件,出现掉色现象,如何解决?
url   =   new   URL(szPicUrl); 
 InputStream   bis   =   url.openStream(); 
 File   oFile   =   new   File(szIamgeFile); 
 if(!oFile.createNewFile()){ 
             return   -2; 
 } 
 FileOutputStream   outfile   =   new   FileOutputStream(oFile); 
 byte[]   b   =   new   byte[1024]; 
 int   read; 
 while((read=bis.read(b,0,1024))   >    0   ){ 
                outfile.write(b,   0,   read);   //outfile.write(b,   0,   1024); 
 } 
 outfile.close();   
 此代码把远程图片写入本地时,图像会出现掉色问题,请有解决此问题的吗?
------解决方案--------------------看错题目了,不好意思。。。。 
 我以为是 
 。。。。图。。。。。色。。。。。