code to upload an image file

I have an XNA game which I plan to convert to mono game. My game has a generic cartoon like image that it uses to represent the the game player. I would like to provide a feature where someone can upload a photo, or alternate image, and then the the new image would replace the original default generic image. Does anyone have any code to do such a thing?

Pretty sure you need to embed the pipeline thing…

You can upload an uncompiled image by using this the cross platform TitleConteiner and open the stream just include the full path relative to your executable file.

   using (var m_FStream = XF.TitleContainer.OpenStream(textureFilePath))
                                _MyTextureCont = XFG.Texture2D.FromStream(ZGLOBAL._3GD, m_FStream);