hex image zoom, rotate, invert functions