[gdal-dev] reading non baseline tiffs with python image

Travis Kirstine traviskirstine at gmail.com
Wed Oct 24 12:47:59 PDT 2012


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 <warmerdam at pobox.com> wrote:
>
>
> On Wed, Oct 24, 2012 at 9:48 AM, Travis Kirstine <traviskirstine at gmail.com>
> 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,
> warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | Geospatial Software Developer
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list