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: Subject: [geda-user] bg-image is not showing properly in gtk and lesstif version of PCB From: Svenn Are Bjerkem To: geda-user Content-Type: multipart/alternative; boundary=001a114091644844cd051170f4b8 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
Hi,

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

I see a sna= g in the behaviour:
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

I have tested pcb-gtk versions 20110= 918-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 im= age is wrapped evenly
about 1/10th into the picture. This creates = a vertical wrap.

I have tried both jpg and ppm with the gtk ve= rsion 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 ther= e.

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 si= zed picture can be used for test.

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.

--
Svenn
--001a114091644844cd051170f4b8--