BufferedImage and stores the results in the destination BufferedImage. If the color models for the two images do not match, a color conversion into the destination color model is performed. If the destination image is null, a BufferedImage is created with the source ColorModel. The coordinates of the rectangle returned by getBounds2D(BufferedImage) are not necessarily the same as the coordinates of the BufferedImage returned by this method. If the upper-left corner coordinates of the rectangle are negative then this part of the rectangle is not drawn. If the upper-left corner coordinates of the rectangle are positive then the filtered image is drawn at that position in the destination BufferedImage.
An IllegalArgumentException is thrown if the source is the same as the destination.
@param src The BufferedImage to transform.
@param dst The BufferedImage in which to store the results of the transformation.
@return The filtered BufferedImage.
@throws IllegalArgumentException if src and dst are the same
@throws ImagingOpException if the image cannot be transformedbecause of a data-processing error that might be caused by an invalid image format, tile format, or image-processing operation, or any other unsupported operation.
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |