Parameter | Type | Description |
---|---|---|
width | int | The desired render width. |
height | int | The desired render height. |
Type | Description |
---|---|
int | A value indicating whether or not the renderer can handle the specified width and height. |
Value | Description |
---|---|
0 | The machine/browser is fast enough to process the window level in real time without having to resize the image first. |
1 | The image needs to be resized once. The new image size will be (Width >> 1 or Width / 2) (Height >> 1 or Height / 2). |
2 | The image needs to be resized twice. The new image size will be (Width >> 2 or Width / 4) (Height >> 2 or Height / 4). |