com.realtime.crossfire.jxclient.util
Class Images

java.lang.Object
  extended by com.realtime.crossfire.jxclient.util.Images

public class Images
extends java.lang.Object

Utility class for manipulating images.


Constructor Summary
private Images()
          Private constructor to prevent instantiation.
 
Method Summary
static void saveImageIcon(java.io.File outputFile, javax.swing.Icon imageIcon)
          Saves an ImageIcon to a file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Images

private Images()
Private constructor to prevent instantiation.

Method Detail

saveImageIcon

public static void saveImageIcon(@NotNull
                                 java.io.File outputFile,
                                 @NotNull
                                 javax.swing.Icon imageIcon)
Saves an ImageIcon to a file. I/O errors are reported to System.err but otherwise ignored.

Parameters:
outputFile - the file to save to
imageIcon - the image to save