Image Understanding Makes for A Good Tokenizer for Image Generation