[Ipe-discuss] Export PNG

Raed Mohsen raedislammohsen at gmail.com
Fri Mar 8 19:43:28 CET 2019


Thanks.

I modified it, but  once I open ipe I get the following error.

[image: 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.science.uu.nl/pipermail/ipe-discuss/attachments/20190308/a2515600/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 40255 bytes
Desc: not available
URL: <https://mailman.science.uu.nl/pipermail/ipe-discuss/attachments/20190308/a2515600/attachment-0001.png>


More information about the Ipe-discuss mailing list