delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/07/21/16:19:43

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=gmail.com; s=20120113;
h=mime-version:date:message-id:subject:from:to:content-type;
bh=ar2ZcsgD+HzlroJKV/tcIuIOy9RCoQJEc4Ktx7hrPkE=;
b=DC7zH3e61uESeEtnwFfJOQFENOO8x9FxlZy5AgQmH28+QHjYgeu4xgKhsf1GIDal1S
UxiuvoS9dXZjm1SO9QQeW36WmMnmBs6GAFGz6SUw98hFO4J1OFV3VKmrnCuC5uCaLBnb
SHOE8HNFpvvEwINeDdbeg08s9Lz2DUy+ybn2D926KPCudVvCBhXcIIztEyYdaBj6w9R+
w9GmnWWlbu5MvZsweehc64mfe2l+iptRbBsj8spNZvTaldxlYX1KdGrbZd8IKG9hSBZm
60ahDac4HC160aXhN0tMXOBGnV8wm9MIirCXFe00k0+Ql7dcR7gCu70jXVm8jdkv9v7L
UoXg==
MIME-Version: 1.0
X-Received: by 10.52.2.170 with SMTP id 10mr45577901vdv.93.1437509955710; Tue,
21 Jul 2015 13:19:15 -0700 (PDT)
Date: Wed, 22 Jul 2015 01:49:15 +0530
Message-ID: <CALT8Ef7a2T3EN5z+cso99PH=Ar=ZV_7yrZCg99zRDsNCs-9D2g@mail.gmail.com>
Subject: [geda-user] Gschem symbol export image
From: "Shashank Chintalagiri (shashank DOT chintalagiri AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Reply-To: geda-user AT delorie DOT com

How does gedasymbols display images for the symbols? When I try an
image export with

gschem -p -o<outpath>  -s<GEDA_SCHEME_DIR>/image.scm ' <symbolpath>

I get an image with the symbol translated all the way to the bottom
left, making for rather unpleasant images.

Theres's also the white but not quite white background which would've
been nicer as an alpha channel, but I can live with it as long as I
can somehow get the symbol centered in the image, and possibly also
let the symbol not have an overall size which is of a fixed aspect
ratio (tall symbols should produce tall images, not wide images with
the symbol shoved into the bottom left corner)

Thanks



-- 

Chintalagiri Shashank
Indian Institute of Technology, Kanpur

http://blog.chintal.in

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019