Produce a .NET 2.0 library either in [url removed, login to view] or C# capable of extracting the clipping path from a TIFF file and adding or replacing the clipping path in a new TIFF file. The library should expose two functions:
ExtractClippingPath(sourceBitmap) -> Returns a the clipping path as a GraphicsPath object. The source TIFF may have been created in Adobe Photoshop OR with the ReplaceClippingPath function.
ReplaceClippingPath(targetBitmap, newGraphicsPath) -> Replaces the clipping path in targetBitamp with the path specified in newGraphicsPath. The clipping path in the resulting TIFF must be usable from within Adobe Photoshop.
Both functions should accept a bitmap object as the source (eg: sourceBitmap and targetBitmap). If this is not feasible due to .net limitations, a stream object is acceptable.
We prefer the library to be written in [url removed, login to view] but may be written in C# if necessary. The library must be usable from vb.net.