ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 TIFF files that won't read
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

sbussinger

USA
2 Posts

Posted - Jun 17 2011 :  11:49:07  Show Profile  Reply
I'm a long time user of ImageEn with an application currently using version 3.1.1. For the first time, I've got a user that has a bunch of TIFF files that I can't read.

I tested them using the PhotoEditor demo application I just downloaded from here and the results are strange, the OpenFile dialog preview shows the contents, but when I click OK, I don't actually see anything. When I select File|Properties in the demo it displays a dialog that says 0x0 pixel, 24 bit color, 444KB size, and 300x300 dpi.

Windows 7 shows the image natively just fine. Properties in Windows 7 shows 96x96 dpi, 816x1056 pixels, 96 dpi, and 32 bit color.

I'm afraid it's a medical image so I can't give you a copy of the file to look at. If I "recreate" the image by printing it to a file or loading it into Paint and saving it again, that new version works fine so I don't have any way to sanitize the file without eliminating the problem.

Any thoughts would be appreciated!

sbussinger

USA
2 Posts

Posted - Jun 17 2011 :  12:00:08  Show Profile  Reply
I just noticed that in the Windows 7 properties dialog, in the Details tag, that the only information it lists is:

  • Dimensions: 816x1056

  • Width: 816 pixels

  • Height: 1056 pixels

  • Horizontal resolution: 96 dpi

  • Vertical resolution: 96 dpi

  • Bit Depth: 32

  • Compression:

  • Resolution unit:

  • Color representation:

  • Compressed bits/pixel:


Note that all of the last ones are blank, which isn't typical of other TIFF images I've checked. Hopefully this will mean something significant to someone!

Thanks!
Go to Top of Page

fab

1310 Posts

Posted - Jun 17 2011 :  13:08:21  Show Profile  Reply
Unfortunately without an image to test I cannot help. Consider that the preview tries to read a thumbnail if present, so maybe ImageEn can only read the embedded thumbnail and fails to read the actual image.
Anyway try this:
1) load the image using LoadFromFileAuto
2) maybe the image is a raw file. Install the dcrawlib and try to open using LoadFromFileRAW
...3) send a copy of the image to xequte...
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: