net.sourceforge.jpotpourri.util
Class ImageUtil

java.lang.Object
  extended by net.sourceforge.jpotpourri.util.ImageUtil

public final class ImageUtil
extends java.lang.Object

Author:
christoph_pickl@users.sourceforge.net

Nested Class Summary
static class ImageUtil.ImageInfo
           
static class ImageUtil.WidthHeight
           
 
Method Summary
static ImageUtil.ImageInfo getResizedImage(java.io.File coverFile, java.awt.Component component, int maxWidth, int maxHeight)
           
static ImageUtil.ImageInfo getResizedImage(java.awt.Image source, java.awt.Component component, int maxWidth, int maxHeight)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getResizedImage

public static ImageUtil.ImageInfo getResizedImage(java.io.File coverFile,
                                                  java.awt.Component component,
                                                  int maxWidth,
                                                  int maxHeight)

getResizedImage

public static ImageUtil.ImageInfo getResizedImage(java.awt.Image source,
                                                  java.awt.Component component,
                                                  int maxWidth,
                                                  int maxHeight)


Copyright © 2008. All Rights Reserved.