net.thucydides.core.reports.html.screenshots
Class ScreenshotFormatter
java.lang.Object
net.thucydides.core.reports.html.screenshots.ScreenshotFormatter
public class ScreenshotFormatter
- extends Object
Class designed to help resize and scale screenshots to a format that is compatible with the Thucydides reports.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
forScreenshot
public static ScreenshotFormatter forScreenshot(Screenshot screenshot)
inDirectory
public ScreenshotFormatter inDirectory(File sourceDirectory)
expandToHeight
public Screenshot expandToHeight(int targetHeight)
throws IOException
- Throws:
IOException
Copyright © 2011-2012 Wakaleo Consulting. All Rights Reserved.