Has anybody an example how to create a diomond as vector.? Given only 4 x,y pairs in image.
drawing a diamond and use fuzzy select. That's it
I wasn't sure what you were asking. I figured it was a code parameter for Python you were seeking. However, manually, within GIMP, there are ways to accomplish simple diamonds using Paths.
Take a look at the Shape Paths script for making polygon shapes: