<br><br><div class="gmail_quote">On Wed, Oct 24, 2012 at 9:48 AM, Travis Kirstine <span dir="ltr"><<a href="mailto:traviskirstine@gmail.com" target="_blank">traviskirstine@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I've been using the python image module to resize geotiff images. I've<br>
noticed that if the source tif image is not created using the gdal<br>
PROFILE=BASELINE option the python resize function will return<br>
unexpected results.  The output will have a black boarder around a<br>
portion of the image.  Any thoughts?</blockquote><div><br></div><div>Travis,</div><div><br></div><div>Do you mean PIL?  I can't think of any reason this would </div><div>happen.  BASELINE normally just means that  GeoTIFF tags</div>
<div>and the custom GDAL_METADATA tag are avoided.   I don't</div><div>see why those would make a difference such as you describe</div><div>to any other software.</div><div><br></div><div>Best regards,</div></div>-- <br>
---------------------------------------+--------------------------------------<br>I set the clouds in motion - turn up   | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a><br>light and sound - activate the windows | <a href="http://pobox.com/~warmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>
and watch the world go round - Rush    | Geospatial Software Developer<br><br>