Jump to content

Developping a new tool


Recommended Posts

Hi,

I would like to develop a slice tool. However, everything that could help me to do so is internal to paintdotnet. Did I miss anything ? Otherwise would it be possible to allow this, and by the mean time allow to add a tool to DocumentWorkspace (I've already had a look to the sources of PaintDotNet, to see that the tool list is hard coded...).

Link to comment
Share on other sites

The Tools list is internal because plugins can only do Effects, Adjustments, and Filetypes. As sabrown said, Pyrochild's splatter plugin utilizes an auxiliary canvas that the user works with, before transferring the changes back to the main canvas.

EDIT:

Do you mean as a plugin? If so, look at splatter as inspiration.

What is splatter ? Is this Ed-Harvey Effect ?

No, it's by pyrochild.

 

The Doctor: There was a goblin, or a trickster, or a warrior... A nameless, terrible thing, soaked in the blood of a billion galaxies. The most feared being in all the cosmos. And nothing could stop it, or hold it, or reason with it. One day it would just drop out of the sky and tear down your world.
Amy: But how did it end up in there?
The Doctor: You know fairy tales. A good wizard tricked it.
River Song: I hate good wizards in fairy tales; they always turn out to be him.

Link to comment
Share on other sites

The Tools list is internal because plugins can only do Effects, Adjustments, and Filetypes. As sabrown said, Pyrochild's splatter plugin utilizes an auxiliary canvas that the user works with, before transferring the changes back to the main canvas.

Yes, but I would like to be able to save the slices information with the pdn file and being able to restore it.

Link to comment
Share on other sites

For Paint.NET, your best solution at this time is to add a new layer to your image and draw your slices with a 1px wide line. Make that layer invisible. Then, use the magic wand to select and save individual pieces.

Great Idea, thanks. At first time, I was about to create a new layer type, in which my slices could be stored.

Link to comment
Share on other sites

For Paint.NET, your best solution at this time is to add a new layer to your image and draw your slices with a 1px wide line. Make that layer invisible. Then, use the magic wand to select and save individual pieces.

New Question then : How can I open the Save Dialog from my effect ?

[Edit] And more important... How can I access to layers from an effect ?

Link to comment
Share on other sites

Moved to Effects API Programming

 

The Doctor: There was a goblin, or a trickster, or a warrior... A nameless, terrible thing, soaked in the blood of a billion galaxies. The most feared being in all the cosmos. And nothing could stop it, or hold it, or reason with it. One day it would just drop out of the sky and tear down your world.
Amy: But how did it end up in there?
The Doctor: You know fairy tales. A good wizard tricked it.
River Song: I hate good wizards in fairy tales; they always turn out to be him.

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.

Guest
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...