public class ImageUtil extends Object
Image
into file.Constructor and Description |
---|
ImageUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
saveImageToFile(org.eclipse.swt.graphics.Image image,
String savePath,
int format)
Save target
Image to file. |
public static boolean saveImageToFile(org.eclipse.swt.graphics.Image image, String savePath, int format)
Image
to file.image
- target Image to savesavePath
- target path in String formatformat
- this parameter can have one of the format type defined at
SWT
ImageLoader.save(java.io.OutputStream, int)