public class UFRawHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ENV_PATH
the environment variable to check for ufraw.
|
protected static Boolean |
m_UfrawPresent
whether "ufraw" is present.
|
Constructor and Description |
---|
UFRawHelper() |
Modifier and Type | Method and Description |
---|---|
static String |
getMissingUfrawErrorMessage()
Returns a standard error message if "ufraw" is not available.
|
static boolean |
isUfrawAvailable()
Checks whether the "ufraw" utility is available.
|
static void |
main(String[] args)
Just outputs some information on availability of tools.
|
static BufferedImage |
read(File file)
Reads a BufferedImage from the file.
|
public static final String ENV_PATH
protected static Boolean m_UfrawPresent
public static boolean isUfrawAvailable()
public static String getMissingUfrawErrorMessage()
public static BufferedImage read(File file)
file
- the file to read the image frompublic static void main(String[] args)
args
- ignoredCopyright © 2021 University of Waikato, Hamilton, NZ. All Rights Reserved.