[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: PCB: background image



On Sun, 23 Apr 2006 16:39:23 +0200
Tomasz Nowak <nowak2000@xxxxxxxxxxxxxx> wrote:

> Fortunately I found `pdftoppm'  utility on my system and converted the right page of datasheet using it (selected 450dpi resolution). Then cropped it with GIMP.
> 
> However, PCB doesn't want to start when applying the bg-color parameter. Am I using the wrong front-end or something like this?
> 
> Here is the trace of my commands:
> $ ls -l
> ...
> -rw------- 1 tomek users 19808318 kwi 23 16:29 J403-000002.ppm
> -rw------- 1 tomek users   382361 kwi 23 01:09 J403.pdf
> $ pcb --bg-image J403-000002.ppm test.pcb
> pcb-bin: bad or incomplete arg: --bg-image

It's also possible for gtk to complain about ppm files with more than 256
colors.  I got that on one ppm test I did while others worked OK.

But if you get that error, the thing to do is just convert the image one
more time to jpeg, gif or png since all those formats are OK with the
gtk fontend.

There's ppmtojpeg, but for png you might need to use "convert".

Bill