<div dir="ltr"><div>Hi Guodong,</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 5, 2020 at 2:16 PM Guodong Zhu <<a href="mailto:gd.zhu@outlook.com">gd.zhu@outlook.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-US">
<div class="gmail-m_-9099344953182128267WordSection1">
<p class="MsoNormal">Hi Sean,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">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?
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I really appreciate your help!</p></div></div></blockquote><div><br></div></div><div>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</div><div><br></div><div>gdal_translate -of PNG warped.tif warped.png</div><div><br></div><div>you'll have a file that looks properly transparent in a browser or image viewer.</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Sean Gillies</div></div></div>