Revert to the cast to imImage