Throw error instead of defaulting to SVG.

QrCode will not longer default to SVG when provided with a bad format.
Add to advance usage.