Generated by
JDiff

com.itextpdf.pdfoptimizer.handlers.util Documentation Differences

This file contains all the changes in documentation in the package com.itextpdf.pdfoptimizer.handlers.util as colored differences. Deletions are shown like 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.

Class MaskColors, MaskColors getConvertedColorMask(long, ColorConverter)

Converts maskArray from one color space to another according to provided ColorConverter. It is expected that source color space of the converter matches the color space of the mask. Otherwise exception will be thrown. @param maximumComponentValue is a maximum value of each component. Unlike double representing of the color components, long components depend on the color depth and may represent different colors when used with different bits per component. Maximum component value notifies the maximum possible value for each component which usually is calculated as 2 ^ (bitsPerComponent) - 1. However it is possible to use the method in another setting with any other maximum component value. It is expected that every value of the mask represented by this instance is not negative and does not exceed the maximumComponentValue @param converter is a color converter. It is expected that its source color space which can be identified via ColorConverter.getSourceColorspace() matches the color space of the mask (at least it has the same number of components as MaskColors.getMin() and MaskColors.getMax() arrays). Otherwise, exception will be thrown @return new instance of MaskColors representing the same mask in new color space. For converted arrays it is expected that each element of one of them is not greater then the corresponding element of the second one. @throws PdfException if maskColor and converted do not match