ImageProcessor imageProcessor = new ImageProcessor(() -> Files.newInputStream(imagePath),
() -> Files.newOutputStream(targetPath));
imageProcessor.process();
ImageProcessor imageProcessor = new ImageProcessor(() -> Files.newInputStream(imagePath),
() -> Files.newOutputStream(targetPath));
imageProcessor.process();