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 4092718
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T19:31:36+00:00 2026-05-20T19:31:36+00:00

I need to read some tiff files into a WPF, and I had it

  • 0

I need to read some tiff files into a WPF, and I had it all working nicely, until I tested it on Windows XP. The image that’s loaded appears to be corrupted, regardless of how I load it.

Attached are 2 screenshots of the same program loading the same image – the dark one is how it should look (loaded from Win7), the other is how it looks when loaded in XP.

I’ve tried loading as a BitmapImage, a BitmapSource, loading a FileStream and passing to a BitmapImage, directly from an Image tag in WPF… all have the same sort of corruption. I’ve used the .NET LibTiff library to get around the problem, but it doesn’t explain why it happens, and I’m at a bit of a loss to explain it!

Edit: I should add that the image is 16 bit.

Loaded in Windows 7 Loaded in XP

  • 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-20T19:31:37+00:00Added an answer on May 20, 2026 at 7:31 pm

    The support from Windows for the TIFF format is very poor in XP and greatly enhanced in Windows 7. 16 bit is not supported by the XP (that is, it only uses 8 bit)
    Please have a look at http://msdn.microsoft.com/en-us/library/ee720061%28VS.85%29.aspx to see what is improved in Windows 7. You can also see it as a list of bugs and limitations fixed in W7, and present in Windows XP….

    When using LibTiff (or LibTiff.NET), you won’t be using the windows imaging class, other than to display a resulting bitmap.
    I did some range mapping (16->8 bit) my self, using AForge.NET to visualize. I did this by implementing a function which would translate a tile from my tiff file (16 bit) into a 8 bit BMP, including image enancement (i.e. leveling)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to read some large files (from 50k to 100k lines), structured in
I need to read from a variety of different text files (I've some delimited
I have a .NET C# windows app that I need to read some excel
i'm working in a project where i need to read some values and send
Im working on a java project where i need to read some objects from
I need some help ... I'm a bit (read total) n00b when it comes
I read the SDK document, but can not understand some details, need some help.
I need to read selected files, matching on the file name, from a remote
I have 55 000 image files (in both JPG and TIFF format) which are
I need to read some data from an input file and plot a graph

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.