ImageData.this

Constructs a new, empty ImageData with the given width, height, depth, palette, scanlinePad and data.

@param width the width of the image @param height the height of the image @param depth the depth of the image @param palette the palette of the image @param scanlinePad the padding of each line, in bytes @param data the data of the image

@exception IllegalArgumentException <ul> <li>ERROR_INVALID_ARGUMENT - if the width or height is negative, or if the depth is not one of 1, 2, 4, 8, 16, 24 or 32, or the data array is too small to contain the image data</li> <li>ERROR_NULL_ARGUMENT - if the palette or data is null</li> <li>ERROR_CANNOT_BE_ZERO - if the scanlinePad is zero</li> </ul>

Meta