.NETGURU
Tiff Manipulation in ASP.NET/VB.NET
Messages   Related Types
This message was discovered on ASPFriends.com 'ngfx-drawing' list.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.

Quinn, Frederick G.
-- Moved from [aspngvs] to [ngfx-drawing] by Click here to reveal e-mail address --I am designing an application which will take the name of an existing TIFF file and allow the user to view a listing of the various pages contained in the TIFF, as well as extract individual pages from the TIFF and save them as separate files. I am looking for information on manipulating TIFF's in the .net framework using vb.net and asp.net. Using the System.Drawing.Image object, I have been able to load a tiff file using the .fromfile method. However, I am unable to find any methods or properties which give me access to the individual pages in the tiff, or even anything that would indicate the number of pages in the tiff.Am I asking more of these objects than they can deliver...??Thanks very much for any help/direction you can offerFred Quinn
Reply to this message...
 
    
Mitch Denny (VIP)
Frederick,

I had a look at the Image class in the framework and it
has two interesting methods, GetFrameCount(...) and
SelectActiveFrame(...). I confess that I don't know much
about the TIFF image format other than you can have more
than one image encoded within it.

Unfortunately I was unable to build a prototype that
did what you wanted. The sample image I used was a two
picture TIFF, when I called the GetFrameCount method
it did return the number 2. This was a positive sign.

I then called SelectActiveFrame but it didn't seem
to do much for me. Maybe you will have better luck. After
digging through the IL to see what is happening, much
of the functionality seems to be burried in native
calls wrapped in managed code, so it wasn't much help.

There is a very slight (very slight) possibility that
the functionality was included in BETA 2 and might
be there by the time RTM comes around, but it is more
likely that the functionality won't be there.

Has anybody else had any success?

----------------------------------------
- Mitch Denny
- http://www.warbyte.com
- Click here to reveal e-mail address
- +61 (414) 610-141
-

[Original message clipped]

Reply to this message...
 
    
ike conde
i found a solution, if you still having this prolem just e-mail me
Reply to this message...
 
 
System.Drawing.Image




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification