Instead of a custom map to translate the interlace modes to strings, let's make use of the base API provided.