[Ipe-discuss] Export PNG

Otfried Cheong otfried at ipe.airpost.net
Fri Mar 8 19:58:30 CET 2019


That location is not even close to the change you needed to make.   Perhaps you used an editor that is not suitable for editing source code and it messed up something else?

Cheers,
  Otfried

On Fri, Mar 8, 2019, at 19:43, Raed Mohsen wrote:
> Thanks.
> 
> I modified it, but once I open ipe I get the following error.
> 
> image.png
> 
> 
> 
> On Fri, 8 Mar 2019 at 11:08, Otfried Cheong via Ipe-discuss 
> <ipe-discuss at lists.science.uu.nl> wrote:
> > 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
> >  >
> >  _______________________________________________
> >  Ipe-discuss mailing list
> > Ipe-discuss at lists.science.uu.nl
> > https://mailman.science.uu.nl/mailman/listinfo/ipe-discuss
> 
> 
> -- 
> Raed Saasaa
> Power Electronics Engineer
> Murata Power Solutions | Toronto, Canada
> Phone: +1 250 899 6079
> https://www.linkedin.com/in/raedsaasaa 
> Attachments:
> * image.png


More information about the Ipe-discuss mailing list