Markus13 Posted July 25, 2016 Share Posted July 25, 2016 (edited) I'm working on automatic graphics processing utility which performs batch-actions on a bunch of image-files, and i wonder how input values from Posterize-effect in PaintNET could be used. So i have a standard posterization algorithm in my program: byteRed = IntToByte( Round( byteRed / posterizeValRed ) * posterizeValRed ); byteGreen= IntToByte( Round( byteGreen / posterizeValGreen ) * posterizeValGreen ); byteBlue = IntToByte( Round( byteBlue / posterizeValBlue ) * posterizeValBlue ); byteAlpha = IntToByte( Round( byteAlpha / posterizeValAlpha ) * posterizeValAlpha ); But input values for posterization effect (a number from 2 to 64) in PaintNET are very confusing. So the question is - how can i interpret them to use in my utility? EDIT: or maybe somebody knows the algorithm which used in PaintNET so i can change my implementation of it accordingly... P.S. Not sure if i made post in appropriate section of this forum. I'm sorry if not. Edited July 26, 2016 by Markus13 Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.