@Test public void testStitching() throws Exception { final File expectedFile = new File(modulePath + "/src/test/resources/stitch-test/expected_stitched_4_tiles.jpg"); final String[] args = { "--tile_spec_url", "src/test/resources/stitch-test/test_4_tiles.json", "--out", outputFile.getAbsolutePath(), "--width", "4576", "--height", "4173", "--scale", "0.05" }; ArgbRenderer.renderUsingCommandLineArguments(args); Assert.assertTrue("stitched file " + outputFile.getAbsolutePath() + " not created", outputFile.exists()); final String expectedDigestString = getDigestString(expectedFile); final String actualDigestString = getDigestString(outputFile); Assert.assertEquals("stitched file MD5 hash differs from expected result", expectedDigestString, actualDigestString); }
public static void renderUsingCommandLineArguments(final String[] args) throws Exception { Renderer.renderUsingCommandLineArguments(args, OPENER, CONVERTER); }
ArgbRenderer { public static void renderUsingCommandLineArguments(final String[] args) throws Exception { Renderer.renderUsingCommandLineArguments(args, OPENER, CONVERTER); } }
ArgbRenderer { public static void renderUsingCommandLineArguments(final String[] args) throws Exception { Renderer.renderUsingCommandLineArguments(args, OPENER, CONVERTER); }  }
ArgbRenderer { public static void renderUsingCommandLineArguments(final String[] args) throws Exception { Renderer.renderUsingCommandLineArguments(args, OPENER, CONVERTER); }  static void render(final RenderParameters renderParameters,
                              final BufferedImage targetImage,
                              final ImageProcessorCache imageProcessorCache); static void renderUsingCommandLineArguments(final String[] args); static void main(final String[] args); static BufferedImage targetToARGBImage(final ImageProcessorWithMasks renderedImageProcessorWithMasks,
                                                  final boolean binaryMask); }
ArgbRenderer { public static void renderUsingCommandLineArguments(final String[] args) throws Exception { Renderer.renderUsingCommandLineArguments(args, OPENER, CONVERTER); }  static void render(final RenderParameters renderParameters,
                              final BufferedImage targetImage,
                              final ImageProcessorCache imageProcessorCache); static void renderUsingCommandLineArguments(final String[] args); static void main(final String[] args); static BufferedImage targetToARGBImage(final ImageProcessorWithMasks renderedImageProcessorWithMasks,
                                                  final boolean binaryMask);  }