Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6387615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T03:10:25+00:00 2026-05-25T03:10:25+00:00

I want to display images in WPF, but using an actual image, instead of

  • 0

I want to display images in WPF, but using an actual image, instead of using the URL. The reason to this is because i want to Serialize images, so i can carry them around easily. How can i do this, if Image class is Source only? Which means, uses URI . The idea would be very simple: Serialize image, then, when deserialization done, it would load the image onto a controller like Image.
Is it even possible to, lets say i had the images serialized, then how could i even get their URI, even such a thing even exists? This is very confusing. Hope for some true enlightenment…

I already found many code snippets that show how to serialize/deserialize but honestly i haven’t been able to test them out yet, as the initial part of my plan is already on hold. Although, if anyone has a good clean link to it, i’d appreciate it!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T03:10:25+00:00Added an answer on May 25, 2026 at 3:10 am

    WPF doesn’t require an actual URI; it requires an instance of ImageSource and it happens to include a built-in converter from string to ImageSource that interprets the string as a URI.

    The easiest way to convert your serialized format into an ImageSource instance is to put something like the below in an IValueConverter and return the BitmapImage:

    BitmapImage bi = new BitmapImage();
    bi.BeginInit();
    bi.StreamSource = /*your serialized image data in Stream form*/;
    bi.EndInit();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a 16 bit grayscale image that I want to display using WPF
I want to display images in a TableView . I can display one image
I am using WPF to display the image in the clipboard. This works fine
Just looking for a good PHP Image Library, I want to display images with
I want to get the Bitmap from URL like - https://graph.facebook.com/100003506521332/picture I tried how-i-can-display-images-from-url-in-blackberry
I want to display about 5-8 images on my page, one by one, but
I want to display images into a ListBox in WPF. What i want to
I want to display a fullscreen image on which I can run a slide
I am using following code in WPF to display image in webcam usingEmguCv library
I have this following code and i want to display images and other html

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.