com.silverpeas.gallery.processing
Class ImageUtility

java.lang.Object
  extended by com.silverpeas.gallery.processing.ImageUtility

public class ImageUtility
extends Object

Author:
ehugonnet

Method Summary
static Size getWidthAndHeight(BufferedImage inputBuf, int widthParam)
           
static Size getWidthAndHeight(String instanceId, String subDir, String imageName, int baseWidth)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getWidthAndHeight

public static Size getWidthAndHeight(BufferedImage inputBuf,
                                     int widthParam)
Parameters:
inputBuf -
widthParam -
Returns:

getWidthAndHeight

public static Size getWidthAndHeight(String instanceId,
                                     String subDir,
                                     String imageName,
                                     int baseWidth)
                              throws IOException
Throws:
IOException


Copyright © 2016 Silverpeas. All Rights Reserved.