|
| 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
|
|
|
| |
|
| |
| |
| 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]
|
|
|
| |
|
|
| |
|
| |
| ike conde |
i found a solution, if you still having this prolem just e-mail me
|
|
|
| |
|
|
| |
|
|
|
|
|
|
|
|
BootFX
Reliable and powerful .NET application framework. |
|
|
|
|
|
|