source: josm/trunk/src/org/openstreetmap/josm/tools/ImageProcessor.java@ 12870

Last change on this file since 12870 was 12782, checked in by Don-vip, 7 years ago

see #15229 - see #15182 - move ImageProcessor from gui.layer to tools

  • Property svn:eol-style set to native
File size: 776 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.tools;
3
4import java.awt.image.BufferedImage;
5
6/**
7 * Processor that modifies images (sharpen, brightness, etc.).
8 * This interface is used by imagery layers to filter the
9 * displayed images (implemented in plugins).
10 *
11 * @author Nipel-Crumple
12 * @since 8625 (creation)
13 * @since 10600 (functional interface)
14 * @since 12782 (moved from {@code gui.layer} package)
15 */
16@FunctionalInterface
17public interface ImageProcessor {
18
19 /**
20 * This method should process given image according to image processors
21 * which is contained in the layer
22 *
23 * @param image that should be processed
24 *
25 * @return processed image
26 */
27 BufferedImage process(BufferedImage image);
28}
Note: See TracBrowser for help on using the repository browser.