2005.06.07 13:11 "[Tiff] simple image copy", by Nenad Nesic

2005.06.07 13:11 "[Tiff] simple image copy", by Nenad Nesic

Hi,

I´m totally new to libtiff and I´m happy about that it is now working in my Visual Studio C++. I just wanna copy the content of an image and save it as another file. How can I do this? I tried this one:

 TIFF* tif=TIFFOpen("e:/input.tif","r");
 TIFF* tif2=TIFFOpen("e:/output.tif","w");
 tif2=tif;
 TIFFClose(tif);
 TIFFClose(tif2);

but it doesn´t work.
Is there a function for copying data/image?