From: Artur H. <ko...@us...> - 2001-11-22 11:00:04
|
Update of /cvsroot/geotools/geotools/src/uk/ac/leeds/ccg/raster In directory usw-pr-cvs1:/tmp/cvs-serv17457/uk/ac/leeds/ccg/raster Modified Files: ImageLayer.java Log Message: Separated image data loading from image creating and some comments added Index: ImageLayer.java =================================================================== RCS file: /cvsroot/geotools/geotools/src/uk/ac/leeds/ccg/raster/ImageLayer.java,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** ImageLayer.java 2001/11/21 13:48:19 1.28 --- ImageLayer.java 2001/11/22 11:00:01 1.29 *************** *** 326,330 **** } // end of if (src != null) if (src_stream != null) { ! this.image = tk.createImage(getImageData(src_stream)); } // end of if (src_stream != null) --- 326,333 ---- } // end of if (src != null) if (src_stream != null) { ! byte[] img_data = getImageData(src_stream); ! // here we can put condition for creating ! // image or not for some reason ! this.image = tk.createImage(img_data); } // end of if (src_stream != null) *************** *** 380,383 **** --- 383,389 ---- * * $Log$ + * Revision 1.29 2001/11/22 11:00:01 kobit + * Separated image data loading from image creating and some comments added + * * Revision 1.28 2001/11/21 13:48:19 kobit * Added support for creating ImageLayer with InputStream as image data source and full support for downaloding map data from WMS with jprotocols package |