Hi
I am new in creating plugins for Paint.Net and I have a big problem with layers.
When I loaded an image (I will call it loadedImage) I want to:
1. Create a new layer with a defined size (say loadedImage.width + 20, loadedImage.height + 20).
2. Copy loaded image onto just created layer and place it in the center of the layer.
3. Now I want to process original image. The source should be the loadedImage and the destination will be original image (dstArgs.Surface?).
Any help will be appreciated