Hi Guodong,

On Thu, Mar 5, 2020 at 2:16 PM Guodong Zhu <[email protected]> wrote:

> Hi Sean,
>
>
>
> Thanks a lot for your answer! It works for me. I have one follow up
> question: is there a way to make the background transparent instead of
> being white?
>
>
>
> I really appreciate your help!
>

The background is transparent, I think it may appear white due to details
of your image viewer. If you convert the warped GeoTIFF to a PNG like

gdal_translate -of PNG warped.tif warped.png

you'll have a file that looks properly transparent in a browser or image
viewer.

-- 
Sean Gillies
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to