Auto-detect width+height so we can do correct rotations for different cameras.