FoxitPDFSDKforWeb  9.0.0
Foxit PDF SDK for Web
CombinePixelsOptions Interface Reference

Options to handle pixel-diff and combine-pixels algorithms. More...

Public Attributes

number backgroundColor
 Image background color, default is white (0xFFFFFFFF), used to identify the background. More...
 
BlendColorResolver blendColorResolver
 Custom blending color algorithm. More...
 
boolean showDiffColor
 Controls whether the generated results show the difference color after comparison. More...
 
DiffColor sourceDiffColor
 Color for highlighting the difference pixels of the source image. More...
 
number sourceOpacity
 Specifies the transparency of the source image, the value is between 0 and 255 (inclusive), and the default value is 255. More...
 
DiffColor targetDiffColor
 Color for highlighting the difference pixels of the target image. More...
 
number targetOpacity
 Specifies the transparency of the target image, the value is between 0 and 255 (inclusive), and the default value is 255. More...
 

Detailed Description

Options to handle pixel-diff and combine-pixels algorithms.

Since
9.0.0

Member Data Documentation

◆ backgroundColor

number CombinePixelsOptions::backgroundColor

Image background color, default is white (0xFFFFFFFF), used to identify the background.

Since
9.0.0

◆ blendColorResolver

BlendColorResolver CombinePixelsOptions::blendColorResolver

Custom blending color algorithm.

Since
9.0.0

◆ showDiffColor

boolean CombinePixelsOptions::showDiffColor

Controls whether the generated results show the difference color after comparison.

Since
9.0.0

◆ sourceDiffColor

DiffColor CombinePixelsOptions::sourceDiffColor

Color for highlighting the difference pixels of the source image.

Since
9.0.0

◆ sourceOpacity

number CombinePixelsOptions::sourceOpacity

Specifies the transparency of the source image, the value is between 0 and 255 (inclusive), and the default value is 255.

Since
9.0.0

◆ targetDiffColor

DiffColor CombinePixelsOptions::targetDiffColor

Color for highlighting the difference pixels of the target image.

Since
9.0.0

◆ targetOpacity

number CombinePixelsOptions::targetOpacity

Specifies the transparency of the target image, the value is between 0 and 255 (inclusive), and the default value is 255.

Since
9.0.0

Foxit Software Corporation Logo
@2023 Foxit Software Incorporated. All rights reserved.