Package com.iizix

Class IcoUtilities

  • public class IcoUtilities
    extends java.lang.Object
    Utility to create an ICO file from transparent PNG files (or opaque JPG files).
    Christopher Mindus
    • Constructor Summary

      Constructor Description
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void createIco​( ico, files)
      Creates ICO files, i.e.
      static void main​(java.lang.String[] args)
      Main class.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IcoUtilities

        public IcoUtilities()
    • Method Detail

      • createIco

        public static void createIco​( ico,
        Creates ICO files, i.e. a merge of buffered images from transparent PNG files (or opaque JPG files).
        ico - The destination icon file.
        files - Files: at least one. The file extensions can be JPEG, JPG, PNG or BMP.
        Throws: - For file errors, also if extension cannot be determined.
      • main

        public static void main​(java.lang.String[] args)
        Main class.
        args - The argument list of files: destination ico, followed by list of JPG/JPEG/PNG/BMP files.