Reordered switch statement
CreateImage supports geometry and dcel module