Adjusting the game's brightness

Do you know how in some games, there’s a screen before the actual game starts that tells you something like: Adjust this slider until the image on the right is barely visible?

So how exactly can you do this? and how do you know the correct image to put in there, if I do not have a reference of how bright or dark the other screens are?