Convert Data To Image Swift 3