When doing a form it is possible to use THUMBNAIL to place .bmp pictures.
I was however wondering if there is any way to translate picture file (bmp/jpg) into something that can be represented in a form as a axl drawn picture. I would prefer not being dependent on bmppath for users copying bmp pictures to the correct folder. Maybe skill can represent ps code directly or write the code to a file at run time.
You look at the at the family of axlGrpDrw APIs. There is no skill code that will translate an existing bmp to line draws there are commerical/shareware programs that will attempt to do it.You would have to take this type of output and convert it to axlGrpDrw APIs
You can also pass a full path of a bmp file to axlGrpDrwBitmap to avoid BMPPATH issues.
In <cdsroot>/share/pcb/examples/skill/basic/* has a simple example.
You can also try converting a bitmap file to encoded Ascii (look at uuencode/decode as an example). Embed the encoded Ascii in your skill file by assigning it to a variable. When the code is executed, it would save the encoded ascii to a temp file, decode it back to binary and load it via axlGrpDrwBitmap.
Could it (the basic folder) be named something else as i do not have it ?
Look in <cdsroot>\share\pcb\examples\skill\form\basic