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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
M

morishuz

@morishuz
About
Posts
1
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • convert byte[] to BitmabImage
    M morishuz

    i have exactly the same problem and i am not surprised because there is no way this could possibly work. nowhere do you actually set the image width or height or the pixel format of the byte array (in my case it's just a string or RGB values) - nor can i find a way you might actually set these - but they would definitely be required in order to initialise a BitmapImage. if you read from a file or an in memory image format this information is contained in the header of a specific image format such as png or jpg - but in the case of simple raw image data it is not. hence the exception. there obviously must be another solution. sadly i have searched high and low and still have no answers!

    WPF help question
  • Login

  • Don't have an account? Register

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