Simone Giannecchini ha scritto: > Ciao Diego (again :-) ), > please, read below.... > > On Dec 12, 2007 1:05 PM, Diego Fdez. DurĂ¡n <[EMAIL PROTECTED]> wrote: >> I've been reading the StreamingRenderer trying to understand how the >> layer's drawing process works. >> >> When the StreamingRenderer draws the layer[1] it uses the >> Graphics2D.drawImage method. Wouldn't be better to use the >> Graphics2D.drawRenderedImage to apply the transformation (and get better >> performance?). > > The images that we use in the streaming renderer are bufferedimages > which are untiled. They are intrinsically in-memory hence using > drawrenderimage would not bring any performance speed up. > drawRenderedImage should be used when drawing tiled images like > PlanarImage subclasses. Of course IMHO :-)
Well, in GeoServer we are encoding everything against a BufferedImage (since we are supposed to work in a headless environment) but that is not the case of Diego, he's doing a Swing app as far as I understand, right? Cheers Andrea ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users