Jump to content
How to Install Plugins ×

List of color palettes (ymd:180301)


Recommended Posts

List of Color palettes

 

LOP_600_large.png

 

 

What's this?

More and more color palettes are over time in the user folder and finding the right one can be difficult. This tool is made to display all the palettes on the canvas.

 

What does it do?

It looks for the files in the palette folder (and subfolders), reads the list of colors to draw a palette for each file.

Empty colors are marked with X. Invalid colors are marked with a red X.

NB: All errors (empty or invalid) are removed on all palettes when you save one palette with paint.net.

 

One image of palette uses by default a rectangle of 180 x 90 + margins 10 and 7. Palettes are placed regularly on the canvas.

LOP_palette_margin.png

 

 

 

 

 

Download it!

Plugin ListOfPalettes.dll

ar.png Here is the DLL http://jcljay.free.fr/pdn/ListOfPalettes.zip

 

 

The MadJik's All plugins package is available!

http://forums.getpaint.net/index.php?showtopic=7186 

 

 

 

How to install

Close Paint.net

 

Classic version of Paint.net

Unzip and (re)place the DLL in your Effect folder usually:

C:/Program Files/Paint.NET/Effects (please reverse / for correct path)

 

Microsoft Store version of Paint.net

Unzip and (re)place the DLL in your Effect folder usually:

My Documents/paint.net App Files/Effects (please reverse / for correct path)

 

You have to adapt for your language My Documents

 

 

 

How to use it

This effect replaces the canvas on the active layer. Be sure to use a new layer or a new image.

Set the dimensions large enough to have all your palettes at once on the same image.

 

Then run the effect and choose the colors for the text and the background.

If some palettes aren’t shown, you could adjust the size (-/+ 5 pixels of the single color square) with the first slider.

 

 

 

The User interface

This plugin is added to the menu Effects, submenu Tools.

LOP_UI.png

 

Size Adjustment

This slider allows small adjustments on size of the smallest unit used: single color square. The other elements are based on this size. This is a tool and not a toy ?. If the adjustment isn’t enough you should consider to use another size of image.

 

Border color

Select the color for the borders and the texts.

 

Back color

Select the color for the background of the list of palettes. Background is visible behind empty or invalid colors but isn’t for colors with transparency.

 

Read sub folders

If any sub folders (or tree) exist in the user folder, check the box when you want to see the palettes of the sub folders.

 

 

 

The Example:

LOP_800b.png

A message on the bottom line shows the full path of the folder and the number of palettes shown / the total number of palettes.

The message is red if there are too many palettes for the size of the canvas. 

 

Voilà! Enjoy!

 

Let me see what you could do with it!

 

  • Like 2
  • Upvote 3
Link to comment
Share on other sites

A very useful plugin. I didn't know how much I needed this before you thought and implemented it, MadJik! 

 

I only keep in the normal "Palettes" folder the two or three palettes I use most often. I have another folder where I keep all palettes that I use occasionally to rarely. So, you can see how useful it would be for me to identify and choose a palette I need if your plugin allowed the user to define the path for the palettes to be drawn.

If it's too much trouble, please forget I asked; your plugin is very useful as it is. 

Xkds4Lh.png

Link to comment
Share on other sites

Link to comment
Share on other sites

24 minutes ago, Djisves said:

define the path for the palettes to be drawn.

If it's too much trouble, please forget I asked; your plugin is very useful as it is. 

 

Then place the folder in the palette folder as sub folder...

 

@Djisves @lynxster4 @Seerose Thank you for your interest.

  • Upvote 1
Link to comment
Share on other sites

2 hours ago, AndrewDavid said:

Have you ever tried to sort a palette?

Can it be done programmatically?

 

I think, if you are trying to sort colors programatically, you'd want to convert them to HSV first and sort by H (with guard band) then order by S and V combined in some way.

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