X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1697588259; x=1697674659; bh=CJluHE7Bg05WtbU5FmbEkmk4W8qYHX2PgxC qKICGCS4=; b=bAPayhAlSA24iJZAlqyhWx5QgVIOTKt6TEy9ra/B2FTvHngW75v 99hX9jakZdW61/JbOmDWwEsnepjbjg4mHM1s4MOXmYqA+at4QqYna89VAwLq5zLC eeQsJLaNX34L6i8Gw20r9XCpodRShCTzz40CoRp2s2qP5Bi6JlDceG4jIKdsZrj0 xeCYVs5NWqkr7AxYSXCGM+c/1M2wbtgj2QArFUdgE1XVomvLtc5HviBCnOX0shp4 QngH1ZREQuT6hCrecYzAWuYWY/4VN2snkJXDC1M5pxjVra0qfsr0+epQSc2eqEcy WTv2md6z+N1JyznSRqs2pfOy8sEsRbeoKGA== X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1697588259; x= 1697674659; bh=CJluHE7Bg05WtbU5FmbEkmk4W8qYHX2PgxCqKICGCS4=; b=b HNIRdcaUW/yiqtmmix68rw1ZmMvsSUU/f/1kxI6v6ZCKO2SYEa9eC4e9y4YKv007 2QVGxyopPEeNYcLOzOt4cnsbbTl1IaS7DX2sf4VxWPvuh8lX5D3yGc0+WgTD+5GI AOsW/ocwCRRNLACHj9fTVLp9U6paPFqnuHg1Or0d6OOcWyLDM3HT0N6lsXhn+28c VANqgPoTfmJ/9rWcoIrvGUrPCJOf+i+XmCXtOfKzm5G+FPB/wW5Et69KNeAmYPdb FJri1wUMFjPxRxghXX0Wz/dC0V5bkGGtyirMjy0FqyNuBHVaMQfaGxiGhGwV/yqE bfqRkqd3tKIVzxipeElFw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrjeefgdefudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecuogfuuhhsphgvtghtffhomhgrihhnucdlgeelmdenuc fjughrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpefiihhrvhhi nhcujfgvrhhruceoghhhvghrrhhlvdesfhgrshhtmhgrihhlrdgtohhmqeenucggtffrrg htthgvrhhnpedtffeijeehgeeiudettdelfedvgfdvudevkeekhfdttefftdfffeehheej lefhhfenucffohhmrghinhepshhouhhrtggvfhhorhhgvgdrnhgvthenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehghhgvrhhrlhdvsehfrghs thhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: iee494631:Fastmail Message-ID: <6016f41d-9260-46dd-8813-36388052bd2a@fastmail.com> Date: Tue, 17 Oct 2023 17:14:30 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [geda-user] Xcircuit to Geda Content-Language: en-US To: geda-user AT delorie DOT com References: <4f7f6c66-7535-4ab8-9adc-105360c58698 AT q40 DOT de> <4de9a3c9-3974-4187-bb79-90ad6d8575ea AT ecosensory DOT com> <20231017214312 DOT CE3E88622A84 AT turkos DOT aspodata DOT se> From: "Girvin Herr (gherrl2 AT fastmail DOT com) [via geda-user AT delorie DOT com]" In-Reply-To: <20231017214312.CE3E88622A84@turkos.aspodata.se> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 On 10/17/23 14:43, karl AT aspodata DOT se [via geda-user AT delorie DOT com] wrote: > Griessen: >> On 10/17/23 02:36, Derek (derek AT q40 DOT de) [via geda-user AT delorie DOT com] wrote: >>> import the PS file as an image and trace the components and tracks. >>> >>> Is there any easier way? >> Not AFAIK >> Seems like an automation problem even the current crop of AIs would bog down with. > Postscript is vector based, and lines arcs etc are done with > moveto, lineto, arcto etc. > > The xscircuit reference manual doesn't say much: > https://xcircuit.sourceforge.net/features.html > > but there is a ref. on the file format: > https://xcircuit.sourceforge.net/postscript.html > and it seems symbols are done as functions/macros. > > I'd say it wouldn't be impossible to make some kind of > converter. If it is very important for someone, I might > be pursuaded into writing one. > > Regards, > /Karl Hammar Karl et al, In general, this is true. PostScript and PDF are vector-based formats. That is what I thought too. However, in my experience, I discovered that PDF files and maybe by association, PostScript files, can have bit-mapped images enclosed. My project was to convert a downloaded PDF image of a part to DXF for inclusion into a QCAD drawing I was working on. Running the file through pstoedit did not produce anything usable, because pstoedit will not convert bit-maps. That was when I discovered to my surprise the image I wanted from the PDF file was a bit-map. I then tried potrace on the file, but it produced a mess - a bunch of tiny little vectors, and I felt it would be quicker to redraw the part in QCAD than to edit the mess to something usable. So beware. Girvin Herr