Sets the directory where to write temporary files. TempDir=System.property("java.io.tmpdir") The actual color is the color that is used for pixels that are there, but were not expected. The last two characters define the blue-portion of the color to use. The next two characters define the green-portion The first two characters define the red-portion of the color in hexadecimal. The colors are specified in HTML-Stlye format (without a leading '#'): The expected color is the color that is used for pixels that were expected, but are not there. ![]() Sets the DPI that Pdf pages are rendered with. Through the environment you can configure the memory settings (see above) and the following settings: The SimpleEnvironment delegates all settings, that were not assigned, to the default Environment. Configuring PdfCompare though an APIĪll the settings, that can be changed through the nf file can also be changed programmatically through the API. New ConfigFileEnvironment(.) and pass it to PdfCompare.withEnvironment(.). Replacement config file with the -Dconfig.file=path/to/file command line argument.Īlternatively you can specify parameters either through a system environment variables or as aĪnother way to specify a different config location programmatically is to create a If you want to specify another configuration file, you can find out more about that here: PdfCompare uses Lightbend Config (previously called TypeSafe Config) to read its configurationįiles. ![]() Must be located in the root of the classpath. The default config file is called "nf" and it PdfCompare can be configured with a config file. New PdfComparator( "expected.pdf", "actual.pdf")
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |