add image converter b4 refactoring