"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "bin/makegeo.c" between
libgeotiff-1.5.1.tar.gz and libgeotiff-1.6.0.tar.gz

About: libgeotiff is a library (built on top of libtiff) for reading and writing coordinate system information from and to GeoTIFF files (GeoTIFF establishes a TIFF based interchange format for georeferenced raster imagery).

makegeo.c  (libgeotiff-1.5.1):makegeo.c  (libgeotiff-1.6.0)
skipping to change at line 28 skipping to change at line 28
void SetUpGeoKeys(GTIF *gtif); void SetUpGeoKeys(GTIF *gtif);
void WriteImage(TIFF *tif); void WriteImage(TIFF *tif);
#define WIDTH 20L #define WIDTH 20L
#define HEIGHT 20L #define HEIGHT 20L
int main() int main()
{ {
char *fname = "newgeo.tif"; char *fname = "newgeo.tif";
TIFF *tif; /* TIFF-level descriptor */ TIFF *tif; /* TIFF-level descriptor */
GTIF *gtif; /* GeoKey-level descriptor */ GTIF *gtif = NULL; /* GeoKey-level descriptor */
tif=XTIFFOpen(fname,"w"); tif=XTIFFOpen(fname,"w");
if (!tif) goto failure; if (!tif) goto failure;
gtif = GTIFNew(tif); gtif = GTIFNew(tif);
if (!gtif) if (!gtif)
{ {
printf("failed in GTIFNew\n"); printf("failed in GTIFNew\n");
goto failure; goto failure;
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)