changed data and texture format handling, breaks image view for now