AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
October 2006

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2006.10.11 10:21 "Re: Handling Of SubIFD in Libtiff Ver 3.8.3", by Sebastian Boehmer
2006.10.12 13:01 "Re: Handling Of SubIFD in Libtiff Ver 3.8.3", by Anurag Singh
2006.10.12 13:41 "Re: Handling Of SubIFD in Libtiff Ver 3.8.3", by <sebastian.boehmer@web.de>
2006.10.13 05:16 "Re: Handling Of SubIFD in Libtiff Ver 3.8.3", by Anurag Singh
2006.10.14 12:58 "Re: Handling Of SubIFD in Libtiff Ver 3.8.3", by Anurag Singh
2006.10.16 19:35 "Re: Handling Of SubIFD in Libtiff Ver 3.8.3", by Sebastian Boehmer

2006.10.13 05:16 "Re: Handling Of SubIFD in Libtiff Ver 3.8.3", by Anurag Singh

yeah, i am using  TortoiseSVN on windows may be that's the reason i am not
able to merge.
would you please send  me the merged (with patched) code of libtiff ver
8.3.2.

act i was trying manually, but got some reduntant code in patch file that's
why i have confused. Such as in  patch file these snippet are redundant.

  TIFFCleanup(TIFF* tif)


 	    for (i = 0; i < tif->tif_nfields; i++)
 	    {
-		TIFFFieldInfo *fld = tif->tif_fieldinfo[i];
-		if (fld->field_bit == FIELD_CUSTOM &&
-		    strncmp("Tag ", fld->field_name, 4) == 0)
-		{
-		    _TIFFfree(fld->field_name);
-		    _TIFFfree(fld);
-		}
+		    TIFFFieldInfo *fld = tif->tif_fieldinfo[i];
+		    if (fld->field_bit == FIELD_CUSTOM &&
+		        strncmp("Tag ", fld->field_name, 4) == 0)
+		    {
+		        _TIFFfree(fld->field_name);
+		        _TIFFfree(fld);
+		    }
 	    }
 	
 	    _TIFFfree(tif->tif_fieldinfo);
-	}
+    }


Although i am trying to find out any solution to merge it, but if possible
please send me the update and merged code of libtiff, I would really
greatful to you,

Thanks
Anurag singh

On 10/12/06, Sebastian Böhmer <Sebastian.Boehmer@web.de> wrote:

> Could you please send us the full output? Or was this all under windows
> > :-).
> > I used patch -p1 - a linux tool - to test the merging with the actual
> > libtiff cvs version.
> >
>
> the code lines are under linux:
> $ cvs checkout libtiff
> $ gunzip libtiff-cvs-20061010-add_private_sub_IFD_support.patch.gz
> $ cd libtiff
> $ patch -p1 < ../libtiff-cvs-20061010-add_private_sub_IFD_support.patch
> file .. patched
> ...
> $./configure
> $ make
>
> .. be happy ;-)
>
> For TortoisesSVN I didn't know if the diff file is the correct format. The
> diff file was created with -urNp attributes.
>
> Perhapse you have a linux box (Knopix) to grab it.
>
> --
> good luck, Sebastian
> PS: I also compiled it with Visual Studio 2003.
>
>
> > Dear all
> >
> > I have downloaded the patch file from bugzilla 1320, i am using
> TortoiseSVN 1.1.1 but i am not able to merge, it says that The line
> "index:" was not found.
> >
> > Might be that diff or patch file is generated by some other software, so
> that svn is not recognise it. Please any one suggest me that how can i merge
> this patch in version libtiff 3.8.2. Or Is there any other option to
> get  fully updated ( with all patches) code of libtiff.
> >
> > Thanks
> > Anurag Singh
>
>
> _____________________________________________________________________
> Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> http://smartsurfer.web.de/?mc=100071&distributionid=000000000066
>
>