The latter, or the -depth command line parameter.

The former would be problematic at this point, since some apps can't handle 30-bit colours...