Sign in to follow this  
Followers 0
TechnoRobbo

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

17 posts in this topic

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


6

Share this post


Link to post
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)

0

Share this post


Link to post
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

0

Share this post


Link to post
Share on other sites

This is really good for making custom palettes. Thank you TechnoRobbo :) 

0

Share this post


Link to post
Share on other sites

Your Welcome NiteNurse,

 

For the curious programmers out there I just posted the VS source code 

0

Share this post


Link to post
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

0

Share this post


Link to post
Share on other sites

 

 

Can I have a BMW then?

:lol:  :lol:  :lol:  :lol:  :lol:  :lol:

0

Share this post


Link to post
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

1

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
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.

0

Share this post


Link to post
Share on other sites

Me too! His input here is sorely missed :(

1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0