Jump to content
How to Install Plugins ×
Paint.NET 5.1 is now available! ×

Recommended Posts

Posted (edited)

TechnoRobbo's Custom Palette Matcher v1.0.5


Conforms your image colors to your custom palette by


finding the nearest color match.


 


Version 1.0.5 Fixes Crash When No Palette Directory Exists


Version 1.0.4 Browser system lets you sample palettes quickly.


Version 1.03 add instant preview and interpolate option


Update Version 1.0.2 Shows Transparency correctly in Palette Preview.


Update Version 1.0.1 Allows manually created palettes(with errors) to be parsed and used.

Manually created palettes should be loaded into PDN then saved again to correct the format.

TR's Custom Palette Matcher will warn you of a bad palette but will try it's best to uses what it's given..


 


Menu: Effects->Color


 


TRsCustomPaletteMatcherMenu.PNG?raw=1


 


Video includes palettes posted by artists on this forum topic



 


Video Tutorial : New Browser



 


 


 


 


TRsCustomPaletteMatcherExample.PNG?raw=1


The VS Source Code 


 


 


 


The Plugin


TRsCustomPaletteMatch.zip


Edited by TechnoRobbo
  • Upvote 4

Go out there and be amazing. Have Fun, TR
TRsSig.png?raw=1
Some Pretty Pictures Some Cool Plugins

Posted

Update Version 1.0.1 Allows manually created palettes(with errors) to be parsed and used.

Manually created palettes should be loaded into PDN then saved again to correct the format.

Custom Palette Matcher will warn you of a bad palette but will try it's best to uses what it's given.

Go out there and be amazing. Have Fun, TR
TRsSig.png?raw=1
Some Pretty Pictures Some Cool Plugins

Posted (edited)

It takes a Custom Palette you created or downloaded  and Matches the colors in an image to the palette. That way your images blend into the artwork.

 

Try playing around with the palttes posted in this Topic.

 

http://forums.getpaint.net/index.php?/topic/2947-color-palettes-go-here/?p=22185

 

I like Electric Blue - the palette and the song.

Edited by TechnoRobbo

Go out there and be amazing. Have Fun, TR
TRsSig.png?raw=1
Some Pretty Pictures Some Cool Plugins

Posted (edited)

 

 

I was more like this in the 80's ... David Sylvian.  So cool http://userserve-ak....ylvianYoung.jpg  - Welsh Blue

I was more of a Tom Cruise - Risky Business haircut. 

 

 

New Update V 1.0.4 - Browser added for easy palette selection

 

 

Video includes palettes posted by artists on this forum topic http://forums.getpaint.net/index.php?/topic/2947-color-palettes-go-here/?p=22185

Edited by TechnoRobbo

Go out there and be amazing. Have Fun, TR
TRsSig.png?raw=1
Some Pretty Pictures Some Cool Plugins

  • 4 years later...
Posted (edited)

I can think of some ways to improve this:

 

1. Ignore paint.net's restrictive rules of the palette system, namely the 96 color limit. Instead, allow reading more colors from the .txt file; for example, if the .txt file contains 256 lines, it should read 256 colors from it.

 

2. When there are fewer than 96 lines in the .txt palette file, the plugin adds white to remaining entries. This can produce unexpected results when the .txt palette file has no white. It should treat this .txt palette file as if it actually had fewer colors.

 

3. What formula do you use for the difference (picking the color with the lowest difference)? I bet it's rederror+greenerror+blueerror or sqrt(rederror²+greenerror²+blueerror²). Also, when many colors tie for the lowest difference, it chooses whichever color appears last in the palette. Please allow an option so that when many colors tie for the lowest difference, it chooses whichever color appears first in the palette. Also, please allow custom weights, so that when the user types 30, 59 and 11, the difference formula is 30×rederror+59×greenerror+11×blueerror. Also, please allow choosing between Manhattan distance (x×rederror + y×greenerror + z×blueerror) or Euclidean distance (sqrt((x×rederror)²+(y×greenerror)²+(z×blueerror)²)).

 

4. Remove that weird Interpolate thing. It is not that useful; even worse, it is on by default.

Edited by Piotr

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