X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com IronPort-SDR: uiF52WO87WhS+3KtoYIWPBtFMw68fTJ1HTx95USjPr6GzpyGOqgtxqkcBMTVHKZJGWMb9F8pQ2 t3RB0lkYDyug== X-Ironport-SBRS: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2FZAACpq8Rd/52AA4BlGgEBAQEBAQE?= =?us-ascii?q?BAQMBAQEBEQEBAQICAQEBAYF+gXSCHyqVU4lWDpFDCQEBAQEBAQEBATUCAQG?= =?us-ascii?q?EQAKEMzgTAgMLAQEFAQEBAQEFBAICaYVDhicBBTpPCxgJJQ8SNgYTgmODBgM?= =?us-ascii?q?JJQW0N4VOgkANY4FIgTaMLIFAP4QjPoIbiBgElwyWN0GCLpEwhAUnmXKORop?= =?us-ascii?q?DkTgjgVgrChgpD4MnUBEUnx0jMAFMOQGQMwEB?= X-IronPort-AV: E=Sophos;i="5.68,279,1569308400"; d="scan'208";a="83782212" Date: Thu, 7 Nov 2019 15:43:53 -0800 From: "Larry Doolittle (ldoolitt AT recycle DOT lbl DOT gov) [via geda-user AT delorie DOT com]" To: "Rob Butts \(r DOT butts DOT geda AT gmail DOT com\) \[via geda-user AT delorie DOT com\]" Subject: Re: [geda-user] PCB jpg to silkscreen Message-ID: <20191107234353.2cnjvbydorw2nldm@recycle.lbl.gov> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Rob - On Thu, Nov 07, 2019 at 05:07:40PM -0500, Rob Butts (r DOT butts DOT geda AT gmail DOT com) [via geda-user AT delorie DOT com] wrote: > I searched online for a way to convert a jpg (logo) to a PCB silkscreen. I > found only one convoluted way using Inkscape and pstoedit. I got inkscape > to work fine but pstoedit is failing. > Is there another way to convert a jpg to silkscreen? I've generated Gerber files with QR codes on them, and then had boards fabbed where the result (on a silkscreen layer) is easily readable with a phone app. The python-managed toolchain is: qrtools.QR() makes a .png scipy.ndimage.imread() reads the .png create a gEDA .pcb file header from a template emit one polygon per pixel (or not, the .png is black&white) close out the .pcb file run pcb -x gerber on that .pcb file If anyone wants to see this, contact me by PM. - Larry