Package mgui.io.imaging
Class ImagingIOFunctions
java.lang.Object
mgui.io.imaging.ImagingIOFunctions
public class ImagingIOFunctions
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description ImagingIOFunctions()
-
Method Summary
Modifier and Type Method Description static boolean
convertRawGreytoPNG(java.lang.String input_file, java.lang.String output_file, int width, int height, int data_type)
static boolean
convertRawRGBtoPNG(java.lang.String input_file, java.lang.String output_file, int width, int height, int data_type)
static boolean
writeImageToPng(java.awt.image.BufferedImage image, java.io.File file)
Writes the given image to a png-format image file.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ImagingIOFunctions
public ImagingIOFunctions()
-
-
Method Details
-
convertRawRGBtoPNG
public static boolean convertRawRGBtoPNG(java.lang.String input_file, java.lang.String output_file, int width, int height, int data_type) throws java.io.IOException- Throws:
java.io.IOException
-
convertRawGreytoPNG
public static boolean convertRawGreytoPNG(java.lang.String input_file, java.lang.String output_file, int width, int height, int data_type) throws java.io.IOException- Throws:
java.io.IOException
-
writeImageToPng
public static boolean writeImageToPng(java.awt.image.BufferedImage image, java.io.File file)Writes the given image to a png-format image file.- Parameters:
image
-file
-- Returns:
-