|
Generated by JDiff |
||||||||
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES |
This file contains all the changes in documentation in the packagecom.itextpdf.io.util
as colored differences. Deletions are shownlike this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a tag will cause all subsequent paragraphs to be displayed differently.
Runs Ghostscript to render the PDF's pages as PNG images.Class GhostscriptHelper, void runGhostScriptImageGeneration(String, String, String, String)Note, that this method may create temporary directory and files. @param pdf Path to the PDF file to be rendered @param outDir Path to the output directory, in which the rendered pages will be stored @param image String which defines the name of the resultant images. This string will be concatenated with the number of the rendered page from the start of the PDF in "-%03d" format, e.g. "-011" for the eleventh rendered page and so on. This number may not correspond to the actual page number: for example, if the passed pageList equals to "5,3", then images with postfixes "-001.png" and "-002.png" will be created: the former for the third page, the latter for the fifth page. "%" sign in the passed name is prohibited. @throws IOException if there are file's reading/writing issues @throws InterruptedException if there is thread interruption while executing GhostScript.
Runs Ghostscript to render the PDF's pages as PNG images.Note, that this method may create temporary directory and files. @param pdf Path to the PDF file to be rendered @param outDir Path to the output directory, in which the rendered pages will be stored @param image String which defines the name of the resultant images. This string will be concatenated with the number of the rendered page from the start of the PDF in "-%03d" format, e.g. "-011" for the eleventh rendered page and so on. This number may not correspond to the actual page number: for example, if the passed pageList equals to "5,3", then images with postfixes "-001.png" and "-002.png" will be created: the former for the third page, the latter for the fifth page. "%" sign in the passed name is prohibited. @param pageList String with numbers of the required pages to be rendered as images. This string should be formatted as a string with numbers, separated by commas, without whitespaces. Can be null, if it is required to render all the PDF's pages. @throws IOException if there are file's reading/writing issues @throws InterruptedException if there is thread interruption while executing GhostScript.
Runs imageMagick to visually compare images and generate difference output.Class ImageMagickHelper, boolean runImageMagickImageCompare(String, String, String, String)Note, that this method may create temporary files. @param outImageFilePath Path to the output image file @param cmpImageFilePath Path to the cmp image file @param diffImageName Path to the difference output image file @return boolean result of comparing: true - images are visually equal @throws IOException if there are file's reading/writing issues @throws InterruptedException if there is thread interruption while executing ImageMagick.
Runs imageMagick to visually compare images with the specified fuzziness value and generate difference output.Class ImageMagickHelper, ImageMagickCompareResult runImageMagickImageCompareAndGetResult(String, String, String, String)Note, that this method may create temporary files. @param outImageFilePath Path to the output image file @param cmpImageFilePath Path to the cmp image file @param diffImageName Path to the difference output image file @param fuzzValue String fuzziness value to compare images. Should be formatted as string with integer or decimal number. Can be null, if it is not required to use fuzziness @return boolean result of comparing: true - images are visually equal @throws IOException if there are file's reading/writing issues @throws InterruptedException if there is thread interruption while executing ImageMagick.
Runs imageMagick to visually compare images with the specified fuzziness value and generate difference output. This method returns an object of ImageMagickCompareResult, containing comparing result information, such as boolean result value and the number of different pixels.Class ImageMagickHelper, boolean runImageMagickImageCompareWithThreshold(String, String, String, String, long)Note, that this method may create temporary files. @param outImageFilePath Path to the output image file @param cmpImageFilePath Path to the cmp image file @param diffImageName Path to the difference output image file @param fuzzValue String fuzziness value to compare images. Should be formatted as string with integer or decimal number. Can be null, if it is not required to use fuzziness @return an object of ImageMagickCompareResult. containing comparing result information. @throws IOException if there are file's reading/writing issues @throws InterruptedException if there is thread interruption while executing ImageMagick.
Runs imageMagick to visually compare images with the specified fuzziness value and given threshold and generate difference output.Note, that this method may create temporary files. @param outImageFilePath Path to the output image file @param cmpImageFilePath Path to the cmp image file @param diffImageName Path to the difference output image file @param fuzzValue String fuzziness value to compare images. Should be formatted as string with integer or decimal number. Can be null, if it is not required to use fuzziness @param threshold Long value of accepted threshold. @return boolean result of comparing: true - images are visually equal @throws IOException if there are file's reading/writing issues @throws InterruptedException if there is thread interruption while executing ImageMagick.