Local homeo- and diffeomorphisms: invertibility and convex image