Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

[HACK][TOOL][AROMA INSTALLER]Image Color Swapper for Aroma Installer

$
0
0
IColorSwap for Aroma Installer 2.70B6

If you are using Aroma Installer 2.70B6, for most, the colorspace issue has been fixed and should work if you include it as the first directive in your aroma-config. If placing the colorspace directive at the top of your aroma-config file does not work, then I have a tool that will help you to use any theme and have the right colors display.

CONCEPT:
I noticed in the demo where there is a demonstration of how to color text that only my Red and Blue values were reversed and Green was ok, this got me thinking that what needed to be done is actually very simple, but there was no program available with the functions to accomplish it.

I needed a program that would loop through all png's in a given directory and then go through each and every pixel of each image while swapping the red and blue values respectively. This was accomplished by writing a very simple java app to do just this.

It only swaps the red and the blue values and does not touch the green values. Also, you will notice that this is not a true inverted color as inverted means that white becomes black and visa-versa and this is not the case in the Aroma Installer, colors are only swapped, not inverted.

USAGE:

Usage is simple, it is a command line program only and has only been tested running Java 7 on a Windows machine:

C:\> java -jar C:\path\to\IColorSwap1.0.jar <SOURCEDIR>

Where <SOURCEDIR> represents both the folder where to find the images to be converted and where to save the results. That means that it will overwrite your existing images. If you need to go back to the original colors, just run the app on the converted images and it should put them back to their normal colors.

FUTURE ADDITIONS:

If anyone else has colorspace issues that are swapping colors other than red and blue, let me know and I'll update this with an argument to set which colors to swap.

Constructive criticism and suggestions are welcomed.

ENJOY!!!

Downloads:
IColorSwap1.0.jar (10kb)

Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>