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?