Removed unused code from SimleImageConvert