Jump to content

Selecting pixels in a color range


odam

Recommended Posts

bit irrelevant in this topic but is there an easy way to make plugins or does anyone know if theres a plugin that selects all the pixels of a certain range of colours on an image

Link to comment
Share on other sites

13 minutes ago, odam said:

bit irrelevant in this topic but is there an easy way to make plugins or does anyone know if theres a plugin that selects all the pixels of a certain range of colours on an image

 

Plugins cannot create or modify a selection.

PdnSig.png

Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint Shop Pro Filetype | RAW Filetype | WebP Filetype

The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait

 

Link to comment
Share on other sites

@odam - welcome to the forum!
Your question should really be in the discussions and questions section - or even developer's central if you plan to write your own plug-in.

 

@null54 is technically correct regarding 'selection', however it is possible to 'detect' pixels within a colour range and set all other pixels to transparent.
There are quite a few plug-ins that can already do this including my own (ancient) Recolour choice

Try searching the plug-in index here: https://forums.getpaint.net/topic/15260-plugin-index/

  • Like 1

 

Red ochre Plugin pack.............. Diabolical Drawings ................Real Paintings

 

PdnForumSig2.jpg

Link to comment
Share on other sites

3 hours ago, odam said:

is there an easy way to make plugins

 

Yes, CodeLab. @BoltBait has published quite a few excellent tutorials to get you started.

 

<I split this out of the paint.net 5.0.1 thread>

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