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. WPF
  4. Unable to read bmp and gif files in Silverlight [modified]

Unable to read bmp and gif files in Silverlight [modified]

Scheduled Pinned Locked Moved WPF
helptutorialquestion
1 Posts 1 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.
  • Y Offline
    Y Offline
    yogesh_kumar_agarwal
    wrote on last edited by
    #1

    BitmapImage imageSource = new BitmapImage(); Stream stream = fu.File.OpenRead(); BinaryReader binaryReader = new BinaryReader(stream); byte[] currentImageInBytes = binaryReader.ReadBytes((int)stream.Length); stream.Position = 0; imageSource.SetSource(stream); imagePreview.Source = imageSource; catastrophic failure error occoured,Plz help HI after a lot of RND i got something like imagetool on codeplex did anyone has some idea how to use the same. HI All its done, my problem is been resolved now, I used imagetool classes to convert gif and bmp files, but still looking for TIFF decoder, did any one have teh solution for the same???? Thanks

    modified on Friday, July 23, 2010 12:13 AM

    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