setMode

Changing density clears the image. Selecting the current mode preserves it.