Jump to content

[plugin request/help me find] Color palette generator, or other plugin of that type, for version 4.x


Recommended Posts

Does anyone know or is capable of making a plugin that would list all the colors present in an image and allow to edit each separately, or something of that sort? I found TRsColorReducer while looking for that type of plugin, but this one is not compactible with the current version of paint.net.

Alternatively, is there a plugin that would allow for png images to be saved with 3-bit color encoding instead of the default powers of 2 ones?

Link to comment
Share on other sites

25 minutes ago, lana del ray said:

Alternatively, is there a plugin that would allow for png images to be saved with 3-bit color encoding instead of the default powers of 2 ones?

 

Sorry to say but PNG format specification doesn't support 3-bit encoding. You may use 4-bit with 8 colors in the color table.

midoras signature.gif

Link to comment
Share on other sites

36 minutes ago, lana del ray said:

I found TRsColorReducer while looking for that type of plugin, but this one is not compactible with the current version of paint.net.

 

TR's Color Reducer seems to work fine for me.  What specific issues are you seeing?

(September 25th, 2023)  Sorry about any broken images in my posts. I am aware of the issue.

bp-sig.png
My Gallery  |  My Plugin Pack

Layman's Guide to CodeLab

Link to comment
Share on other sites

  • 4 weeks later...
On 1/5/2022 at 10:11 PM, midora said:

 

Sorry to say but PNG format specification doesn't support 3-bit encoding. You may use 4-bit with 8 colors in the color table.

i have a 16 colors image, how do i reduce that to just 8 colors? is there a way to convert to a specific color table or something like that?

Link to comment
Share on other sites

On 1/5/2022 at 10:21 PM, toe_head2001 said:

 

TR's Color Reducer seems to work fine for me.  What specific issues are you seeing?

Does it work for the current version of paint.net tho? And if so, how did you managed to make it work? I tried installing it before asking for advice here and it changed nothing to the UI.

Link to comment
Share on other sites

On 2/2/2022 at 12:24 AM, otuncelli said:

You can use Effects->Colors->Quantize with 0 dithering level.

 

Then, you can use this plugin to replace the colors. (Tip: Use Color Picker tool to get color values)

Do you use a plugin for that "Quantize" effect, or is it a matter of paint.net version (i use 4.2.15 btw)? Thanks for that plugin btw, it installed itself nicely.

Link to comment
Share on other sites

25 minutes ago, lana del ray said:

Do you use a plugin for that "Quantize" effect, or is it a matter of paint.net version (i use 4.2.15 btw)? Thanks for that plugin btw, it installed itself nicely.

 

You need to install the latest version of the app. If you do not, we can't help you and I'll have to close the thread.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Installed the update, it works well with that plugin, now the last problem is how do i convert colors in an image according to a previously made color palette, so that the 8 colors i have average themselves out to the closest color from the palette (000000 would still be 000000, 0001AA would become 0000FF, and so on). Sorry if im asking too much, im still new to this program.

Edited by lana del ray
Some embarrasing typos
Link to comment
Share on other sites

These are hexadecimal representation of colors. Get their R,G,B,A values first:

0001AA = RGBA(0, 1, 170,255)

0000FF = RGBA(0, 0, 255,255)

 

Then enter them line by line into the text field in the plugin. It'll will replace the left-hand-side color with right-hand-side color.

0,1,170,255=0,0,255,255

...

...

 

Still, you won't be able to save the output as 3 bit PNG. It's not supported. You can save the output as 4 bit with 3 bit palette.

Edited by otuncelli
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...