Jump to content

TR's Color Reducer (and palette maker) 2014-08-01


Recommended Posts

TechnoRobbo's Color Reducer


(and palette maker)


v1.0.2


 


Scale down the color count in your image.


Greatly reduce file sizes.


 Use the selection to limit the area modified,


If reduced to less than 1000 Colors you can edit the color table.


If 96 colors or less you can save a Custom Palette!!!


 


Menu: Effect -> Color


 


version 1.02 small UI fix


version 1.01 includes brightness control and preview for Plugin Browser


 


TRColorReducer.png?raw=1


 


Plugin was originally written to reduce the size of the help file in The Plugin Browser.


 



 


The Plugin


TRsColorReducer.zip


 


The VS Source Code for Programmers


https://www.dropbox.com/s/rnhhfatjqgvoepk/TRsColorReducerSrc.zip?dl=0


  • Upvote 6

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

Link to comment
Share on other sites

This is great! (even runs on Pdn 3.5.11)
Love the superquick progress-bar through the image and the ability to save palettes will be useful.

As the colours are reduced the tones tend to get darker - presumably integers rounding down - or is it just my perception? :/
If that is the case perhaps you could consider an option or control to bias the tone of the new colours?

Good work - thanks! B)

 

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

 

PdnForumSig2.jpg

Link to comment
Share on other sites

 

 

As the colours are reduced the tones tend to get darker - presumably integers rounding down - or is it just my perception?  :/

if you play with the divider (95 to 96 to 94) you'll see it re-rounds and re-interprets the shading.

 

Thanks Red

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

Link to comment
Share on other sites

 

 

As the colours are reduced the tones tend to get darker - presumably integers rounding down - or is it just my perception?  :/

If that is the case perhaps you could consider an option or control to bias the tone of the new colours?

Ask and you shall receive Red

 

version 1.01 includes brightness control and preview for Plugin Browser

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

Link to comment
Share on other sites

Found a little UI rendering issue.  The smaller lower slider is partially obscured by the text box above.

 

yhsjjie-1160.png

  • Upvote 1
Link to comment
Share on other sites

  • 2 years later...

Dear TR thanks for all your hard work.

 

I noticed that pallete files created with this plugin contain line breaks that break long comment lines:

 

; paint.net Palette File
; Lines that start with a semicolon are comments
; Colors are written as 8-digit hexadecimal numbers: aarrggbb
; For example, this would specify green: FF00FF00
; The alpha ('aa') value specifies how transparent a color is. FF is fully

opaque, 00 is fully transparent.
; A palette must consist of ninety six (96) colors. If there are less than

this, the remaining color
; slots will be set to white (FFFFFFFF). If there are more, then the remaining

colors will be ignored.
FFFCFCFC
FFBDBDBD
FF7E7E7E

Link to comment
Share on other sites

TechnoRobbo hasn't been on the forum for a few months. Your best bet is to accept that, for now, you need to manually edit the palette.

Link to comment
Share on other sites

Me too! His input here is sorely missed :(

  • Upvote 1
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.

 Share

×
×
  • Create New...