Package org.netbeans.jemmy.image
Class PNGImageSaver
- java.lang.Object
-
- org.netbeans.jemmy.image.PNGImageSaver
-
- All Implemented Interfaces:
ImageSaver
public class PNGImageSaver extends Object implements ImageSaver
Allowes to process PNF image format.- Author:
- Alexandre Iline (alexandre.iline@sun.com)
-
-
Constructor Summary
Constructors Constructor Description PNGImageSaver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
save(BufferedImage image, String fileName)
Saves an image into a PNG image file.
-
-
-
Method Detail
-
save
public void save(BufferedImage image, String fileName) throws IOException
Saves an image into a PNG image file.- Specified by:
save
in interfaceImageSaver
- Parameters:
image
- an image to be saved.fileName
- a file to load image from.- Throws:
IOException
-
-