ICY Version 1.0.1.0
Static Public Member Functions

icy.image.ImageUtil Class Reference

List of all members.

Static Public Member Functions

static String getImageTypeString (int type)
static String getTransparencyString (int transparency)
static BufferedImage loadImage (String path, boolean displayError)
static BufferedImage loadImage (String path)
static BufferedImage loadImage (URL url, boolean displayError)
static Image loadImage (URL url)
static BufferedImage loadImage (File file, boolean displayError)
static BufferedImage loadImage (File file)
static BufferedImage loadImage (InputStream input, boolean displayError)
static BufferedImage loadImage (InputStream input)
static boolean saveImage (RenderedImage image, String format, String path)
static boolean saveImage (RenderedImage image, String format, File file)
static RenderedImage toRenderedImage (Image image)
static BufferedImage toBufferedImage (Image image)
static BufferedImage scaleImage (Image image, int width, int height)
static BufferedImage convertImage (Image in, BufferedImage out)
static Image toGrayImage (Image image)
static boolean sameSize (BufferedImage im1, BufferedImage im2)
static void applyColorFilter (Image image, Color color, float alpha)

Detailed Description

Author:
stephane

Member Function Documentation

static void icy.image.ImageUtil.applyColorFilter ( Image  image,
Color  color,
float  alpha 
) [static]

Apply simple color filter with specified alpha factor to the image

static BufferedImage icy.image.ImageUtil.convertImage ( Image  in,
BufferedImage  out 
) [static]

convert an image to a type BufferedImage

static BufferedImage icy.image.ImageUtil.loadImage ( String  path) [static]

Load an image from specified path

static BufferedImage icy.image.ImageUtil.loadImage ( File  file) [static]

Load an image from specified file

static BufferedImage icy.image.ImageUtil.loadImage ( InputStream  input,
boolean  displayError 
) [static]

Load an image from specified InputStream

static BufferedImage icy.image.ImageUtil.loadImage ( URL  url,
boolean  displayError 
) [static]

Load an image from specified url

static BufferedImage icy.image.ImageUtil.loadImage ( InputStream  input) [static]

Load an image from specified InputStream

static BufferedImage icy.image.ImageUtil.loadImage ( String  path,
boolean  displayError 
) [static]

Load an image from specified path

static Image icy.image.ImageUtil.loadImage ( URL  url) [static]

Load an image from specified url

static BufferedImage icy.image.ImageUtil.loadImage ( File  file,
boolean  displayError 
) [static]

Load an image from specified file

static boolean icy.image.ImageUtil.sameSize ( BufferedImage  im1,
BufferedImage  im2 
) [static]

Return true if image has the same size

static boolean icy.image.ImageUtil.saveImage ( RenderedImage  image,
String  format,
File  file 
) [static]

Save an image to specified file in specified format

static boolean icy.image.ImageUtil.saveImage ( RenderedImage  image,
String  format,
String  path 
) [static]

Save an image to specified path in specified format

static BufferedImage icy.image.ImageUtil.scaleImage ( Image  image,
int  width,
int  height 
) [static]

Scale an image with specified size


The documentation for this class was generated from the following file:
 All Classes Functions Variables