After poking around a little more it appear the problem is related internal tiling with the tifs (not the profile) and yes I am using PIL .
On 24 October 2012 14:20, Frank Warmerdam <[email protected]> wrote: > > > On Wed, Oct 24, 2012 at 9:48 AM, Travis Kirstine <[email protected]> > wrote: >> >> I've been using the python image module to resize geotiff images. I've >> noticed that if the source tif image is not created using the gdal >> PROFILE=BASELINE option the python resize function will return >> unexpected results. The output will have a black boarder around a >> portion of the image. Any thoughts? > > > Travis, > > Do you mean PIL? I can't think of any reason this would > happen. BASELINE normally just means that GeoTIFF tags > and the custom GDAL_METADATA tag are avoided. I don't > see why those would make a difference such as you describe > to any other software. > > Best regards, > -- > ---------------------------------------+-------------------------------------- > I set the clouds in motion - turn up | Frank Warmerdam, > [email protected] > light and sound - activate the windows | http://pobox.com/~warmerdam > and watch the world go round - Rush | Geospatial Software Developer > > > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
