org.deegree.style.utils
Class ImageUtils

java.lang.Object
  extended by org.deegree.style.utils.ImageUtils

public class ImageUtils
extends Object

Version:
$Revision: 28386 $, $Date: 2010-11-25 15:38:59 +0100 (Thu, 25 Nov 2010) $
Author:
Andreas Schmitz, last edited by: $Author: aschmitz $

Constructor Summary
ImageUtils()
           
 
Method Summary
static BufferedImage postprocessPng8bit(BufferedImage img)
           
static BufferedImage prepareImage(String format, int width, int height, boolean transparent, Color bgColor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageUtils

public ImageUtils()
Method Detail

prepareImage

public static BufferedImage prepareImage(String format,
                                         int width,
                                         int height,
                                         boolean transparent,
                                         Color bgColor)
Returns:
an empty image conforming to the request parameters

postprocessPng8bit

public static final BufferedImage postprocessPng8bit(BufferedImage img)
Parameters:
img -
Returns:
a new 8bit image, quantized


Copyright © 2011. All Rights Reserved.