This simple script will generate a minimal flat rectangular LDraw sticker part using a png texture.
Dimensions must be given in LDraw units (20ldu == one stud == 8mm)
Width and height must use the same ratio as the given image.
Picture: (Must be .png)
Description: (The is the text you can search for in the LDCad bin if you place the .dat in a library location)
resulting dat file:
Create a new .dat file using the above content. Place it and the png alongside the model file you want to use it in.
Do note textured parts are not supported by all LDraw programs, my LDCad does support it though :)
By Roland Melkert 2016