ImageGear for Java
merge(ImGearRasterPage,ImGearRasterPage,int,int,ImGearMergeModes,ImGearChannelRange) Method
First image to merge. It will contain resultant image after merging.
Second image to merge.
Left position of the source image on the destination one.
Top position of the source image on the destination one.
Merge mode.
Range of channels.

Processes specified range of channels.

Both page DIBs must have the same color space.

Use ImGearRasterProcessingVerifier.canApplyMerge method to check whether the operation can be performed.

If the images are paletted, the arithmetic operation is applied to the pixel values (indexes) rather than to the palette entries. This may result in unexpected effect with certain palettes, for example if the palette is reversed. In such cases, consider converting the image to a non-indexed colorspace, such as Grayscale or RGB, before applying the operation.

com.accusoft.imagegear.core.ImGearRasterPageT:com.accusoft.imagegear.core.ImGearChannelRange

Merges two images according to the specified merge mode.
Syntax

Parameters

page
First image to merge. It will contain resultant image after merging.
pageToMergeWith
Second image to merge.
left
Left position of the source image on the destination one.
top
Top position of the source image on the destination one.
mode
Merge mode.
channels
Range of channels.

Processes specified range of channels.

Both page DIBs must have the same color space.

Use ImGearRasterProcessingVerifier.canApplyMerge method to check whether the operation can be performed.

If the images are paletted, the arithmetic operation is applied to the pixel values (indexes) rather than to the palette entries. This may result in unexpected effect with certain palettes, for example if the palette is reversed. In such cases, consider converting the image to a non-indexed colorspace, such as Grayscale or RGB, before applying the operation.

com.accusoft.imagegear.core.ImGearRasterPageT:com.accusoft.imagegear.core.ImGearChannelRange

See Also

Reference

ImGearRasterProcessing Class
ImGearRasterProcessing Members
Overload List

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback