[Ipe-discuss] Export PNG

Otfried Cheong otfried at ipe.airpost.net
Fri Mar 8 17:10:11 CET 2019


Sure, I guess we can change that.

In fact you can change it yourself right now.   In "actions.lua", find the function "MODEL:action_export_png()",
and change

    self.ui:renderPage(self.doc, self.pno, self.vno,
		       "png", s, self.ui:zoom(),
		       false, false) -- transparent, nocrop

to

    self.ui:renderPage(self.doc, self.pno, self.vno,
		       "png", s, self.ui:zoom(),
		       true, false) -- transparent, nocrop

Cheers,
  Otfried

On Fri, Mar 8, 2019, at 15:18, Raed Mohsen via Ipe-discuss wrote:
> Hi,
> 
> Is it possible to make the "export png" option from ipe with 
> transparent background by default ?
> 
> Regards 
> 
> -- 
> Raed Saasaa
> Power Electronics Engineer
> Murata Power Solutions | Toronto, Canada
> Phone: +1 250 899 6079
> https://www.linkedin.com/in/raedsaasaa 
> _______________________________________________
> Ipe-discuss mailing list
> Ipe-discuss at lists.science.uu.nl
> https://mailman.science.uu.nl/mailman/listinfo/ipe-discuss
>


More information about the Ipe-discuss mailing list