Class ImageExporter
java.lang.Object
davidmarino.service.Exporter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
exportToPNG
(BufferedImage image, int targetWidth, int targetHeight) Exports image to png file.
-
Constructor Details
-
ImageExporter
public ImageExporter()
-
-
Method Details
-
exportToPNG
Exports image to png file.- Parameters:
image
- to be exportedtargetWidth
- of the exported imagetargetHeight
- of the exported image
-