docs: public static boolean canCreatePalette(RenderedImage image) {
          if (image == null) {
              throw new IllegalArgumentException("image == null");
          }
          ImageTypeSpecifier type = new ImageTypeSpecifier(image);
          return canCreatePalette(type);
      }