Parameters
- page
- Page to process.
- left
- Left margin of blended image.
- top
- Top margin of blended image.
- pageToBlendWith
- Image to blend with page.
- weight
- A value from 0 to 100 defining the % weight of the pageToBlendWith image to be blended.
This method blends all channels of page with corresponding channels of pageToBlendWith, using the following formula:
pagePixel = (pagePixel * (100.0 - weight) + pageToBlendPixel * weight) / 100.0
The method validates input pages for further processing according to following logics:
The method processes the input pages according to following logics: