|
Generated by JDiff |
||||||||
| PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES | |||||||||
This file contains all the changes in documentation in the packagecom.itextpdf.io.utilas 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.
RunsClass GhostscriptHelper, void runGhostScriptImageGeneration(String, String, String, String)ghostscriptGhostscript tocreaterenderimagestheofPDF's pages as PNGpdfsimages. @param pdf Path to the.to be rendered @param outDir Path to the outputdirectorydirectory, in which the rendered pages will be stored @param imagePathString 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 thegeneratedpassed name isimageprohibited. @throws IOException if there are file's reading/writing issues @throws InterruptedException if there is thread interruption while executing GhostScript.
RunsghostscriptGhostscript tocreaterenderimages ofthespecifiedPDF's pagesofaspdfsPNG images. @param pdfPath to the.to be rendered @param outDirPath to the outputdirectorydirectory, in which the rendered pages will be stored @param image String which definesPaththe 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 thegeneratedfifth page. "%" sign in the passed nameimageis prohibited. @param pageList String with numbers of the required pages toextractbe rendered asimageimages.ShouldbeformattedasstringwithThis string should be formatted as a string with numbers, separated by commas,withoutwhitespaces.Canbenull,ifitisrequiredtoextractwithout whitespaces. Can be null, if it is required to render allpagestheasPDF'simagespages. @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. @param outImageFilePath Path to the output image file @param cmpImageFilePath Path to the cmp image file @param diffImageName Path to the difference output imageClass ImageMagickHelper, boolean runImageMagickImageCompare(String, String, String, String)filefile @return boolean result of comparing: true - images are visuallyequalequal @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. @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 usefuzzinessfuzziness @return boolean result of comparing: true - images are visuallyequalequal @throws IOException if there are file's reading/writing issues @throws InterruptedException if there is thread interruption while executing ImageMagick.