I need to delete a page from a multipaged TIFF file. I am currently working in .NET but can move to another language if some one knows how to do it in that language.
The page would be either the second to last, or the last page in the file. And I need to do it with out decompressing the previous pages in the file, so not creating a new TIFF and copying all the pages I still want to that.
I have code that does that already, but as the TIFF files I am working with are around 1.0 gb - 3.0 gb heavily compressed, this is extremely time consuming. If I can just remove the part of the file that I want and not create a new one that will go much faster.
The page that I need to remove is very very small compared to the rest of the file, as is the page that may or may not be after it, around 500*500 pixels.
What I have tried, I have tried the LibTiff.Net library, found here
http://bitmiracle.com/libtiff/
After messing with it for awhile I asked the developer about my issue, they said that there wasn't currently support to do that. I also looked into ImageMagick a bit, but I haven't been able to figure out how to do this there either.
Any one got any helpful ideas here?