Class ScreenshotFormatter
java.lang.Object
net.thucydides.core.reports.html.screenshots.ScreenshotFormatter
Class designed to help resize and scale screenshots to a format that is compatible with the Thucydides reports.
-
Method Summary
Modifier and TypeMethodDescriptionexpandToHeight(int targetHeight) static ScreenshotFormatterforScreenshot(Screenshot screenshot) inDirectory(File sourceDirectory) keepOriginals(boolean shouldKeepOriginalScreenshots)
-
Method Details
-
forScreenshot
-
inDirectory
-
keepOriginals
-
expandToHeight
- Throws:
IOException
-