HighTechTalks DotNet Forums  

Reading TIFF files

Dotnet Framework (Drawing) microsoft.public.dotnet.framework.drawing


Discuss Reading TIFF files in the Dotnet Framework (Drawing) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Victory
 
Posts: n/a

Default Reading TIFF files - 10-23-2007 , 04:19 PM






Hi,

What does .NET have to read the compression technology used in a TIFF
file?

thx!
Mars

*** Sent via Developersdex http://www.developersdex.com ***

Reply With Quote
  #2  
Old   
Bob Powell [MVP]
 
Posts: n/a

Default Re: Reading TIFF files - 10-25-2007 , 04:20 PM






TIFF is a phenomenally huge specification that accepts just about every
possible combination of image ever invented. Unfortunately the GDI+
reader has a limited repertoire and will read a limited amount of TIFF
images.

It cannot read JPEG encoded TIFF for example.

For a broader range of capabilities see the .NET 3.0 image codecs

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.





Victory wrote:
Quote:
Hi,

What does .NET have to read the compression technology used in a TIFF
file?

thx!
Mars

*** Sent via Developersdex http://www.developersdex.com ***

Reply With Quote
  #3  
Old   
Victory
 
Posts: n/a

Default Re: Reading TIFF files - 11-28-2007 , 01:08 PM



Our tiff files are black and white. So, i decided to use the Image
object and Image.FromFile method and then looked for a propertyId of
259. Then compared the value of the propertyItem at that index, for a
compression value i was looking for.
thanks,
Mars

*** Sent via Developersdex http://www.developersdex.com ***

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.