Saros
Distributed Collaborative Editing and Distributed Party Programming
de.fu_berlin.inf.dpp.ui.util.ImageUtils Class Reference

List of all members.

Static Public Member Functions

static Dimension getImageDimensions (final String path) throws IOException
static Image resize (Image image, int width, int height)
static Image resize (ImageData imageData, int width, int height)
static ImageData resize (ImageData imageData, int width, int height, boolean antiAliasing)

Member Function Documentation

static Dimension de.fu_berlin.inf.dpp.ui.util.ImageUtils.getImageDimensions ( final String  path) throws IOException [static]
static ImageData de.fu_berlin.inf.dpp.ui.util.ImageUtils.resize ( ImageData  imageData,
int  width,
int  height,
boolean  antiAliasing 
) [static]
static Image de.fu_berlin.inf.dpp.ui.util.ImageUtils.resize ( ImageData  imageData,
int  width,
int  height 
) [static]

Returns a new scaled image. new Image must be disposed after use.

Parameters:
imageData
width
height
Returns:
static Image de.fu_berlin.inf.dpp.ui.util.ImageUtils.resize ( Image  image,
int  width,
int  height 
) [static]

Returns a new scaled image. new Image must be disposed after use.

Parameters:
image
width
height
Returns:
 All Classes Namespaces Files Functions Variables Enumerations