get_context_size


Description:

public int get_context_size (int width, int height)

Gets the total size in bytes required to store an image of width x height for this frame mode.

Parameters:

width

the width in pixels

height

the height in pixels

mode

a FrameMode

Returns:

the size in bytes.