ImageGearJava Project > com.accusoft.imagegear.processing Package > ImGearProcessing Class : resizeCanvas Method |
The image data in the bitmap is not stretched or compressed, but copied to the specified offset in the new image.
Use ImGearProcessingVerifier.canApplyResizeCanvas method to check whether the operation can be performed on the specified image.
public static void resizeCanvas( ImGearPage page, int width, int height, int offsetX, int offsetY, ImGearPixel background ) |
The image data in the bitmap is not stretched or compressed, but copied to the specified offset in the new image.
Use ImGearProcessingVerifier.canApplyResizeCanvas method to check whether the operation can be performed on the specified image.