Jump to content

How to copy, extend and work on additional layer.


Recommended Posts


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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...