Re: Export PNG
Raed Mohsen via Ipe-discuss <ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]> Fri, 8 Mar 2019 14:42:14 -0500
| Newsgroups | gmane.comp.graphics.ipe.general |
|---|---|
| Message-ID | <CA+2gDLjR_74FwfJFf3HZXqVmUbhspKxFmXHkMKoM_9snYUBz=w@mail.gmail.com> |
--===============6031399023536676432== Content-Type: multipart/alternative; boundary="000000000000242b3c05839a6c96" --000000000000242b3c05839a6c96 Content-Type: text/plain; charset="UTF-8" Hi, I use Notepad ++. But, here is what happened. I made the same modification for ipe 7.2.8 and there is no problem at all. I double checked and it seems only ipe 7.2.10 is giving me this issue. regards On Fri, 8 Mar 2019 at 13:58, Otfried Cheong via Ipe-discuss < ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]> wrote: > 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-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]> 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-rGrgPyRx506NN8uzcEdRPYRWq/[email protected] > > > > https://mailman.science.uu.nl/mailman/listinfo/ipe-discuss > > > > > > > _______________________________________________ > > > Ipe-discuss mailing list > > > Ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected] > > > 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 > _______________________________________________ > Ipe-discuss mailing list > Ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected] > 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 --000000000000242b3c05839a6c96 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><span style=3D"color:rgb(0,0,0)">Hi,</span><div style=3D"c= olor:rgb(0,0,0)">=C2=A0</div><div style=3D"color:rgb(0,0,0)">I use Notepad= =C2=A0++. But, here is what happened.</div><div style=3D"color:rgb(0,0,0)">= <br></div><div style=3D"color:rgb(0,0,0)">I made the same modification for = ipe 7.2.8 and there is no problem at all. I double checked and it seems onl= y ipe 7.2.10 is giving me this issue.</div><div style=3D"color:rgb(0,0,0)">= <br></div><div style=3D"color:rgb(0,0,0)">regards=C2=A0</div></div><br><div= class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, 8 Mar = 2019 at 13:58, Otfried Cheong via Ipe-discuss <<a href=3D"mailto:ipe-dis= cuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]">ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]</a>> wrote:<br= ></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;= border-left:1px solid rgb(204,204,204);padding-left:1ex">That location is n= ot even close to the change you needed to make.=C2=A0 =C2=A0Perhaps you use= d an editor that is not suitable for editing source code and it messed up s= omething else?<br> <br> Cheers,<br> =C2=A0 Otfried<br> <br> On Fri, Mar 8, 2019, at 19:43, Raed Mohsen wrote:<br> > Thanks.<br> > <br> > I modified it, but once I open ipe I get the following error.<br> > <br> > image.png<br> > <br> > <br> > <br> > On Fri, 8 Mar 2019 at 11:08, Otfried Cheong via Ipe-discuss <br> > <<a href=3D"mailto:ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]" target=3D"_blan= k">ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]</a>> wrote:<br> > > Sure, I guess we can change that.<br> > > <br> > >=C2=A0 In fact you can change it yourself right now. In "acti= ons.lua", find the function "MODEL:action_export_png()",<br> > >=C2=A0 and change<br> > > <br> > >=C2=A0 self.ui:renderPage(self.doc, self.pno, self.vno,<br> > >=C2=A0 "png", s, self.ui:zoom(),<br> > >=C2=A0 false, false) -- transparent, nocrop<br> > > <br> > >=C2=A0 to<br> > > <br> > >=C2=A0 self.ui:renderPage(self.doc, self.pno, self.vno,<br> > >=C2=A0 "png", s, self.ui:zoom(),<br> > >=C2=A0 true, false) -- transparent, nocrop<br> > > <br> > >=C2=A0 Cheers,<br> > >=C2=A0 Otfried<br> > > <br> > >=C2=A0 On Fri, Mar 8, 2019, at 15:18, Raed Mohsen via Ipe-discuss = wrote:<br> > >=C2=A0 > Hi,<br> > >=C2=A0 > <br> > >=C2=A0 > Is it possible to make the "export png" opti= on from ipe with <br> > >=C2=A0 > transparent background by default ?<br> > >=C2=A0 > <br> > >=C2=A0 > Regards <br> > >=C2=A0 > <br> > >=C2=A0 > -- <br> > >=C2=A0 > Raed Saasaa<br> > >=C2=A0 > Power Electronics Engineer<br> > >=C2=A0 > Murata Power Solutions | Toronto, Canada<br> > >=C2=A0 > Phone: +1 250 899 6079<br> > >=C2=A0 > <a href=3D"https://www.linkedin.com/in/raedsaasaa" rel= =3D"noreferrer" target=3D"_blank">https://www.linkedin.com/in/raedsaasaa</a= > <br> > >=C2=A0 > _______________________________________________<br> > >=C2=A0 > Ipe-discuss mailing list<br> > >=C2=A0 > <a href=3D"mailto:Ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]" tar= get=3D"_blank">Ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]</a><br> > >=C2=A0 > <a href=3D"https://mailman.science.uu.nl/mailman/listi= nfo/ipe-discuss" rel=3D"noreferrer" target=3D"_blank">https://mailman.scien= ce.uu.nl/mailman/listinfo/ipe-discuss</a><br> > >=C2=A0 ><br> > >=C2=A0 _______________________________________________<br> > >=C2=A0 Ipe-discuss mailing list<br> > > <a href=3D"mailto:Ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]" target=3D"_bla= nk">Ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]</a><br> > > <a href=3D"https://mailman.science.uu.nl/mailman/listinfo/ipe-dis= cuss" rel=3D"noreferrer" target=3D"_blank">https://mailman.science.uu.nl/ma= ilman/listinfo/ipe-discuss</a><br> > <br> > <br> > -- <br> > Raed Saasaa<br> > Power Electronics Engineer<br> > Murata Power Solutions | Toronto, Canada<br> > Phone: +1 250 899 6079<br> > <a href=3D"https://www.linkedin.com/in/raedsaasaa" rel=3D"noreferrer" = target=3D"_blank">https://www.linkedin.com/in/raedsaasaa</a> <br> > Attachments:<br> > * image.png<br> _______________________________________________<br> Ipe-discuss mailing list<br> <a href=3D"mailto:Ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]" target=3D"_blank">Ipe-di= scuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]</a><br> <a href=3D"https://mailman.science.uu.nl/mailman/listinfo/ipe-discuss" rel= =3D"noreferrer" target=3D"_blank">https://mailman.science.uu.nl/mailman/lis= tinfo/ipe-discuss</a><br> </blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"= class=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr">Raed Saas= aa<div><span style=3D"font-size:12.8px">Power Electronics Engineer</span></= div><div><span style=3D"font-size:12.8px">Murata Power Solutions | Toronto,= Canada</span><br></div><div><div>Phone: +1 250 899 6079</div><div><a href= =3D"https://www.linkedin.com/in/raedsaasaa" target=3D"_blank">https://www.l= inkedin.com/in/raedsaasaa</a>=C2=A0<br></div></div></div></div></div></div> --000000000000242b3c05839a6c96-- --===============6031399023536676432== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Ipe-discuss mailing list Ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected] https://mailman.science.uu.nl/mailman/listinfo/ipe-discuss --===============6031399023536676432==--