public void DecodeToImage2Test(String imageName)
{
try {
String imagePath1 = FileUtils.combineFilePath(fileLocation.getPath(), imageName);
byte[] bytes1 = FileUtils.readBytes(new File(imagePath1));
DecodeToImageResult decodeToImageResult = iOpenJPEG.DecodeToImage2(bytes1);
ManagedImage mi = decodeToImageResult.getManagedImage();
}
catch (Exception e)
{
Assert.fail(Utils.getExceptionStackTraceAsString(e));