www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/03/16/20:22:48

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=googlemail.com; s=20120113;
h=mime-version:date:message-id:subject:from:to:content-type;
bh=AEz3HPabqXSOwr1EuBnJ2Sqa1fZkmlSv4alMQwqGsYg=;
b=WJMjGdyiN77h97qN/b8KRBK9RisFpomX8hWqAFfAbi65aVc1+QutdZHDZcROkf4BAs
ktiKf+AnTU4NlZCMm5a6bhi8/LemHfB+kUxyZHJjyu38ZiZZT7NA0NcwaCkhSgFu9mG4
rMkpcs7Vn8vENlaJMFoCbAO0aPoPgkFVo23sGQgIBdknruNEeCaqUvHqsW7qbN3w1Ssa
fIO+Ecl44oSto6ecQhvjByBZwTK0V24/GzniATwxH8Qtrt8ZCZijMgXwlrYKTa+oBSv1
AY4BC5Ej/J9Pw+79CaerPjSjdxABXv15J7FYwlyC44XsAC7FVKFhRjnFlqj9jvEei7gL
EQ8w==
MIME-Version: 1.0
X-Received: by 10.202.232.65 with SMTP id f62mr47919900oih.116.1426551715937;
Mon, 16 Mar 2015 17:21:55 -0700 (PDT)
Date: Tue, 17 Mar 2015 01:21:55 +0100
Message-ID: <CAGde_xMd+tY8mNRVc-pamKh=DGfG40K_mJw6aGi5F9KHPf64EA@mail.gmail.com>
Subject: [geda-user] bg-image is not showing properly in gtk and lesstif version of PCB
From: Svenn Are Bjerkem <svenn DOT bjerkem AT googlemail DOT com>
To: geda-user <geda-user AT delorie DOT com>
Reply-To: geda-user AT delorie DOT com

--001a114091644844cd051170f4b8
Content-Type: text/plain; charset=UTF-8

Hi,

I just revisited the --bg-image background image feature to create a
footprint for a gps module.

I see a snag in the behaviour:
It seems as if the gtk version of pcb skews each line in the image with a
pixel or two for each line. This results in a diagonal wrap in the image

I have tested pcb-gtk versions 20110918-7 and 20140316-3 in Debian, and
both show the same
skew.

I also tested gtk-lesstif 20140316-3 and 20110918-7 and here the image is
wrapped evenly
about 1/10th into the picture. This creates a vertical wrap.

I have tried both jpg and ppm with the gtk version and ppm with the lesstif
version

I tried to compile pcb from latest git source, but currently I have some
issues making it crash on me,
so I can't tell how the background picture will look there.

I would be happy if anybody with a bit of extra time could try to use a ppm
or a jpg as background.
I think any reasonably sized picture can be used for test.

I would also be happy if somebody could give me the git hash of a
reasonably new commit known to work so I can clean up my build directory
and build the sources from that hash.

-- 
Svenn

--001a114091644844cd051170f4b8
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div><div><div><div><div><div><div><div><div><di=
v><div>Hi,<br><br></div>I just revisited the --bg-image background image fe=
ature to create a footprint for a gps module.<br><br></div><div>I see a sna=
g in the behaviour:<br></div>It seems as if the gtk version of pcb skews ea=
ch line in the image with a pixel or two for each line. This results in a d=
iagonal wrap in the image<br><br></div>I have tested pcb-gtk versions 20110=
918-7 and 20140316-3 in Debian, and both show the same<br></div>skew.<br><b=
r></div>I also tested gtk-lesstif 20140316-3 and 20110918-7 and here the im=
age is wrapped evenly<br></div>about 1/10th into the picture. This creates =
a vertical wrap.<br><br></div>I have tried both jpg and ppm with the gtk ve=
rsion and ppm with the lesstif version<br><br></div>I tried to compile pcb =
from latest git source, but currently I have some issues making it crash on=
 me,<br></div>so I can&#39;t tell how the background picture will look ther=
e.<br><br></div>I would be happy if anybody with a bit of extra time could =
try to use a ppm or a jpg as background.<br></div>I think any reasonably si=
zed picture can be used for test.<br><br></div>I would also be happy if som=
ebody could give me the git hash of a reasonably new commit known to work s=
o I can clean up my build directory and build the sources from that hash.<b=
r clear=3D"all"></div><div><div><div><div><div><div><div><div><div><div><di=
v><div><div><div><br>-- <br><div class=3D"gmail_signature">Svenn</div>
</div></div></div></div></div></div></div></div></div></div></div></div></d=
iv></div></div>

--001a114091644844cd051170f4b8--

- Raw text -


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