Re: Drawing electronic circuits or schematics with schemdraw Python package in a wxPython GUI
Dietmar Schwertberger <[email protected]> Thu, 25 Nov 2021 20:28:14 +0100
| Newsgroups | gmane.comp.python.wxpython |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --------------egeVGZtrm0UA5FoaOYRMj4I5 Content-Type: text/plain; charset="UTF-8"; format=flowed On 25.11.2021 19:33, Matthias Brennwald wrote: > I was thinking that a vector graphics format would be better in view > of different (high) DPI environments. However, PNG (or other bitmap > formats) are not necessarily out of question if there is no good way > with vector graphics. That's only relevant if you want e.g. to zoom and edit or if Schemdraw does no good job in rendering into the image. If you want to zoom etc., i.e. you want to edit your schematics, then you should look into something else anyway. Maybe look at KiCad, which uses wx. > How could I make use of the PNG output from schemdraw in wxPython? The > PNG examples I found for wxPython always make use of a PNG file as the > source for the image data. Have a look at the "Using Images" section of the wxPython demo and also at the wxPython documentation. Why are you "stuck at 4.0"? It's not too hard to upgrade or to use project specific versions. Regards, Dietmar -- You received this message because you are subscribed to the Google Groups "wxPython-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/79abb842-ec14-22c4-469f-6e07d4ee6d43%40schwertberger.de. --------------egeVGZtrm0UA5FoaOYRMj4I5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF-8= "> </head> <body> <div class=3D"moz-cite-prefix">On 25.11.2021 19:33, Matthias Brennwald wrote:<br> </div> <blockquote type=3D"cite" cite=3D"mid:[email protected]"> <meta http-equiv=3D"content-type" content=3D"text/html; charset=3DUTF= -8"> <span style=3D"white-space: break-spaces;">I was thinking that a vect= or graphics format would be better in view of different (high) DPI environm= ents. However, PNG (or other bitmap formats) are not necessarily out of que= stion if there is no good way with vector graphics.</span></blockquote> <p>That's only relevant if you want e.g. to zoom and edit or if Schemdraw does no good job in rendering into the image.</p> <p>If you want to zoom etc., i.e. you want to edit your schematics, then you should look into something else anyway.<br> Maybe look at KiCad, which uses wx.<br> </p> <blockquote type=3D"cite" cite=3D"mid:[email protected]"> <div id=3D"geary-quote" dir=3D"auto"> <div><span style=3D"white-space: break-spaces;">How could I make us= e of the PNG output from schemdraw in wxPython? The PNG examples I found fo= r wxPython always make use of a PNG file as the source for the image data.<= /span></div> </div> </blockquote> <p>Have a look at the "Using Images" section of the wxPython demo and also at the wxPython documentation.</p> <p><br> </p> <p>Why are you "stuck at 4.0"? It's not too hard to upgrade or to use project specific versions.<br> </p> <p>Regards,</p> <p>Dietmar<br> </p> <p><br> </p> <p><br> </p> </body> </html> <p></p> -- <br /> You received this message because you are subscribed to the Google Groups &= quot;wxPython-users" group.<br /> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:[email protected]">wxpy= [email protected]</a>.<br /> To view this discussion on the web visit <a href=3D"https://groups.google.c= om/d/msgid/wxpython-users/79abb842-ec14-22c4-469f-6e07d4ee6d43%40schwertber= ger.de?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/= msgid/wxpython-users/79abb842-ec14-22c4-469f-6e07d4ee6d43%40schwertberger.d= e</a>.<br /> --------------egeVGZtrm0UA5FoaOYRMj4I5--