- added method to find the opengl format given an Image Format enum