GLM may be used in HW5.
OpenGL is not required for HW5.
A large variety of image formats are supported, but we recommend that you use a lossless format such as BMP or PNG. Lossy formats, such as JPG may lead to an unacceptable level of hot pixel from compression artifacts.
See this handout, as well as FreeImage documentation.