Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Convert binarydata to Image

Convert binarydata to Image

Scheduled Pinned Locked Moved C#
question
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    albCode
    wrote on last edited by
    #1

    How can I convert binary data to image then converted binary data i want to save as jpeg or another format regards... _____________________ Proud to be Albanian _____________________

    N 1 Reply Last reply
    0
    • A albCode

      How can I convert binary data to image then converted binary data i want to save as jpeg or another format regards... _____________________ Proud to be Albanian _____________________

      N Offline
      N Offline
      Nicholas Butler
      wrote on last edited by
      #2

      Hi Load the data into a MemoryStream, then use Image.FromStream. Then use Image.Save. BTW, you must keep the MemoryStream open until you have finished with the Image. ---------------------------- Be excellent to each other :) EasiReports[^] My free reporting component for WinForms.

      A 1 Reply Last reply
      0
      • N Nicholas Butler

        Hi Load the data into a MemoryStream, then use Image.FromStream. Then use Image.Save. BTW, you must keep the MemoryStream open until you have finished with the Image. ---------------------------- Be excellent to each other :) EasiReports[^] My free reporting component for WinForms.

        A Offline
        A Offline
        albCode
        wrote on last edited by
        #3

        Thanks and it works perfectly... _____________________ Proud to be Albanian _____________________

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups