com.silverpeas.gallery.processing
Class ImageUtility
java.lang.Object
  
com.silverpeas.gallery.processing.ImageUtility
public class ImageUtility
- extends Object
 
- Author:
 
  - ehugonnet
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
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.