Jpeg loading implemented