java - Automatic color fill? -


There are a few stark issues. Suppose we have only black colored png icon (more than hundred) but they can contain more than one unrelated element like:

What I have to achieve is to create all the colors of the graphics and the automatically color (fill the black content) and the remaining parameter is unchanged ( Format / Ridge Leave) as well. Is there a library or attitude that should be applied to this task?

Thanks

This is a small process that can: / P>

  public static zero main (string [] args) {final string indicator = "c: \\ picture"; Final String Output = "C: \\ Picture \" out "; Last Interval Color = 0x00ff0000; File Directory = New File (DirectX); File [] Files = Directory. Catalog Files (); if (Files == Faucet) {Return ;} (File file: files) {string extension; int extensionIndex = file.getName (). LastIndexOf ('.'); If (extension index> gt; 0) {extension = file.getName (). Substrings ( ExtensionEndX + 1);} Other {extension = "BMP";} Buffet image image; {Image = Convert (imageIO.read (f) (I.il.), BufferedImage.TYPE_INT_ARGB); for (int i = 0; i  

I used the converting method of this post:

< / Div>

Comments

Popular posts from this blog

winforms - C# Form - Property Change -

java - Messages from .properties file do not display UTF-8 characters -

javascript - amcharts makechart not working -