custom camera resolution

how do i change the camera resolution to a custom resolution?
id like to make it be 320x200 resolution but there are only the aspect ratio and the common resolution selection.