Add support for loading JPEG files into textures automatically.