Package org.geotools.image.palette

Examples of org.geotools.image.palette.LRUColorIndexer


                        .getRenderedImage();
                ColorIndexer indexer = null;
               
                // user provided palette?
                if (mapContent.getPalette() != null) {
                    indexer = new CachingColorIndexer(new LRUColorIndexer(icm, 1024));
                } else if (palettedFormatName.equalsIgnoreCase(format)) {
                    // build the palette and grab the optimized color indexer
                    indexer = new Quantizer(256).subsample().buildColorIndexer(image);
                }
View Full Code Here

TOP

Related Classes of org.geotools.image.palette.LRUColorIndexer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.