Class BufferedImageSaver
- java.lang.Object
-
- science.aist.imaging.core.storage.BufferedImageSaver
-
- All Implemented Interfaces:
BiConsumer<BufferedImage,String>
public class BufferedImageSaver extends Object implements BiConsumer<BufferedImage,String>
Saves a
BufferedImage
usingImageIO
- Since:
- 1.0
- Author:
- Andreas Pointner
-
-
Constructor Summary
Constructors Constructor Description BufferedImageSaver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(BufferedImage image, String savePath)
Saves a buffered image-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.function.BiConsumer
andThen
-
-
-
-
Method Detail
-
accept
public void accept(BufferedImage image, String savePath)
Saves a buffered image- Specified by:
accept
in interfaceBiConsumer<BufferedImage,String>
- Parameters:
image
- the image to be savedsavePath
- the path where the image should be saved to.
-
-