BufferedImage
with a given width and height according to the specification embodied in this object.
@param width the desired width of the returnedBufferedImage
.
@param height the desired height of the returnedBufferedImage
.
@return a new BufferedImage
@exception IllegalArgumentException if either width
orheight
are negative or zero.
@exception IllegalArgumentException if the product ofwidth
and height
is greater than Integer.MAX_VALUE
, or if the number of array elements needed to store the image is greater than Integer.MAX_VALUE
.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|