code: public static ImageLibrary getInstance() {
      if (instance == null) {
        synchronized (ImageLibrary.class) {
          if (instance == null)
            instance = new ImageLibrary();
        }
      }
      return instance;
    }
docs: Singleton access
  
  @return the Image library