Quick note to socialgiraffe,
Thanks for the comments. I got sidelined by the accidental layouts output.
In the images above the middle one - a view of what an image would look like printed on a mug, front and back, is what I was aiming for. I could not find an easy way to do that, so I wrote a script program that let me drag any image onto a folder, then it would resize it, curve it and stick it on the picture of a mug. Then I thought, what about the text, so I wrote another line to show the back, and modified it to include text and a full wrap so you can see the last bit of image from the other side.
When I realised that one by product of the script was a 'ready to print' layout, I got excited by the simplicity of it all. But realistically, the useful thing is to be able to make previews of how a mug should look, to send to someone or to put in advertising, and that works great as you can see in the middle picture. And as the videos showed - it takes about a minute.
It will look better when I make the white of the template the same white as the mug
Ok, it's done. This sort of thing is what I was writing originally. Now it works reasonably and the background colours blend a bit better so they don;t look like a label was just stuck on. Works the same way, edit the text, drag a picture into the folder, press make and wait about 30 seconds.
Works with Linux, Windows and Mac. I made another one that rotates the mug, but it needs the rough edges worked off and cute as it is to be able to do it, I'm not sure I need it now.
[ATTACH=CONFIG]1989[/ATTACH]