You can easily import any image information in PDF or postscript format into PCB. If you need to convert an image from a standard format like JPEG, I recommend using GIMP or your favorite image editor (some editors might not allow direct conversion to postscript). When converting the image to a postscript file, make sure it is at the scale you want imported into PCB **Sizes cannot be changed after this step**.
If you have a PDF file it can easily be converted into a PS file using this utility in Linux PDF2PS
http://www.linuxcommand.org/man_pages/pdf2ps1.html
After you have the file in postscript file in the size you want, you will want to get a very useful package called pstoedit. This package allows the translation of .ps files into several different editable file formats. Here is the list from the developers website. (http://www.pstoedit.net/)
Currently pstoedit can generate the following major formats:
* Tgif .obj format (for tgif version >= 3)
* .fig format for xfig
* pdf - Adobe's Portable Document Format
* gnuplot format
* Flattened PostScript (with or without Bezier curves)
* DXF - CAD exchange format
* LWO - LightWave 3D
* RIB - RenderMan
* RPL - Real3D
* Java 1 or Java 2 applet
* Idraw format (in fact a special form of EPS that idraw can read)
* Tcl/Tk
* HPGL
* AI (Adobe Illustrator) (based on ps2ai.ps - not a real pstoedit driver - see notes below and manual)
* Windows Meta Files (WMF) (Windows 9x/NT only)
* Enhanced Windows Meta Files (EMF) (Windows 9x/NT only)
* OS/2 meta files (OS/2 only)
* PIC format for troff/groff
* MetaPost format for usage with TeX/LaTeX
* LaTeX2e picture
* Kontour
* GNU Metafile (plotutils / libplot)
* Skencil( http://www.skencil.org )
* Mathematica
* via ImageMagick to any format supported by ImageMagick
* SWF
Strangely it is not on the list, but PCB is one of the supported formats. Once you have this package all you need to do is run this command:
"./pstoedit -f pcb [input .ps file] [output .pcb file name]" Note: it is -f pcb, not -f PCB.
Then just open up PCB and select "File->Load Layout Data To Paste-Buffer" and open the newly created pcb file.
The shortened version:
1.) Create a .ps file
2.) Use pstoedit utilizing the "-f pcb" option to convert the .ps to a .pcb file
3.) Load the .pcb file into PCB
There are tons of other useful tricks for using PCB in the geda wiki linked below:
Note of warning
This method failed successively on a specific image I was trying to import. I didn't really look into it, but I think it might have been that the .pdf file I was using had grayscale information contained within it.
As a quick fix I converted the .pdf into an image using GIMP into a .ppm and then used our in house code to convert it. Another useful note is if you are only importing images onto the silk screen layer our home brew version can be quite simpler for complex images.
Our code and explanation can be found on the following page.
http://www.fivemanconspiracy.com/?q=node/16