Package com.iizix
Class IcoUtilities
- java.lang.Object
- com.iizix.IcoUtilities
public class IcoUtilities extends java.lang.Object
Utility to create an ICO file from transparent PNG files (or opaque JPG files).- Author:
- Christopher Mindus
Constructor Summary
Constructors Constructor Description IcoUtilities()
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
createIco(java.io.File ico, java.io.File... files)
Creates ICO files, i.e.static void
main(java.lang.String[] args)
Main class.
Method Detail
createIco
public static void createIco(java.io.File ico, java.io.File... files) throws java.io.IOException
Creates ICO files, i.e. a merge of buffered images from transparent PNG files (or opaque JPG files).- Parameters:
ico
- The destination icon file.files
- Files: at least one. The file extensions can be JPEG, JPG, PNG or BMP.- Throws:
java.io.IOException
- For file errors, also if extension cannot be determined.
main
public static void main(java.lang.String[] args)
Main class.- Parameters:
args
- The argument list of files: destination ico, followed by list of JPG/JPEG/PNG/BMP files.