Label bitmap encoder