I began trying to translate Robert Heel's php script to python but I'm a beginner in python so I didn't come very far until I came into trouble, and I think I must learn how to read a PES file first, before I can do anything with it. I think it would be a good idea to ask the user for the prefered size of the embroidery since most embroidery machines support a couple of different sized frames that keep the fabric stretched during embroidery, fitting the frames correct on a t-shirt or a pair of pants is in itself a problem since the frames are always bigger than the embroidery, and on jackets pockets tend to appear where customers want their embroidery. It is also a good idea to have at least 1 mm width to a line as smaller lines tend to sink into the fabric even though we use plastic on top of the fabric, we have tried lowering the thread tension but it didn't help much. Anyway I'm very glad for the response and I think that we will figure out solutions eventually. Mikael Öhlin. 2010/2/13 Alvin Penner