receive img width and height to pass to GL texture routines