<div dir="ltr"><div>Hello,<br><br></div>I need to save a PNG of QGIS canvas, but I need an empty background color  (like a glass window)<br><div><div><br></div><div>If I use :<br></div><div><br>mapCanvas.saveAsImage(input_file, None, "PNG")<br><br></div><div>I obtain a white background (like a piece of paper).<br><br><br></div><div>What is the correct settings to have a  <span id="result_box" class="" lang="en"><span class="">break through   effect  in my image ?<br></span></span><span id="result_box" class="" lang="en"><span class=""><br><br><br></span></span></div><div><span id="result_box" class="" lang="en"><span class="">Thank you for any info about this<br><br><br></span></span></div><div><span id="result_box" class="" lang="en"><span class="">Roberto<br></span></span></div></div></div>