@Test public void createConstantImage1() { Dimension tileSize = JAI.getDefaultTileSize(); int w = (int)(2.5 * tileSize.width); int h = (int)(2.5 * tileSize.height); TiledImage img = ImageUtils.createConstantImage(w, h, 0d); assertNotNull(img); assertEquals(w, img.getWidth()); assertEquals(h, img.getHeight()); assertEquals(tileSize.width, img.getTileWidth()); assertEquals(tileSize.height, img.getTileHeight()); }
public static TiledImage createConstantImage(int width, int height, Number value) { return createConstantImage(width, height, new Number[] {value}); }
ImageUtils { public static TiledImage createConstantImage(int width, int height, Number value) { return createConstantImage(width, height, new Number[] {value}); } }
ImageUtils { public static TiledImage createConstantImage(int width, int height, Number value) { return createConstantImage(width, height, new Number[] {value}); }  }
ImageUtils { public static TiledImage createConstantImage(int width, int height, Number value) { return createConstantImage(width, height, new Number[] {value}); }  static TiledImage createConstantImage(int width, int height, Number value); static TiledImage createConstantImage(int minx, int miny, int width, int height, Number value); static TiledImage createConstantImage(int width, int height, Number[] values); static TiledImage createConstantImage(int minx, int miny, int width, int height, Number[] values); static TiledImage createConstantImage(int minx, int miny, int width, int height,
            int tileWidth, int tileHeight, Number[] values); static TiledImage createImageFromArray(Number[] array, int width, int height); static Color[] createRampColours(int numColours); static Color[] createRampColours(int numColours, float saturation, float brightness); static Color[] createRampColours(int numColours, float startHue, float endHue,
            float saturation, float brightness); static RenderedImage createDisplayImage(RenderedImage dataImg, Map<Integer, Color> colourTable); static List<RenderedImage> getBandsAsImages(RenderedImage img); static List<RenderedImage> getBandsAsImages(RenderedImage img, Collection<Integer> bandIndices); }
ImageUtils { public static TiledImage createConstantImage(int width, int height, Number value) { return createConstantImage(width, height, new Number[] {value}); }  static TiledImage createConstantImage(int width, int height, Number value); static TiledImage createConstantImage(int minx, int miny, int width, int height, Number value); static TiledImage createConstantImage(int width, int height, Number[] values); static TiledImage createConstantImage(int minx, int miny, int width, int height, Number[] values); static TiledImage createConstantImage(int minx, int miny, int width, int height,
            int tileWidth, int tileHeight, Number[] values); static TiledImage createImageFromArray(Number[] array, int width, int height); static Color[] createRampColours(int numColours); static Color[] createRampColours(int numColours, float saturation, float brightness); static Color[] createRampColours(int numColours, float startHue, float endHue,
            float saturation, float brightness); static RenderedImage createDisplayImage(RenderedImage dataImg, Map<Integer, Color> colourTable); static List<RenderedImage> getBandsAsImages(RenderedImage img); static List<RenderedImage> getBandsAsImages(RenderedImage img, Collection<Integer> bandIndices);  }