File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

changing colors

 
bab javier
Ranch Hand
Posts: 32
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello again!
let's say I have a png file and I want to change all the red colors to another color. is it possible? what's the code?
tnx again guys
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
let's say I have a png file and I want to change all the red colors to another color. is it possible? what's the code?

Where are you processing the image? I don't know how to do that in the mobile, but on the server-side you can use Java Advanced Imaging for manipulating the PNG image.
Here's my attempt to code a sample using the JAI API (not compiled, no guarantees of any sort):
 
bab javier
Ranch Hand
Posts: 32
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi! thanks for the tip.
i have to change it in the mobile. its part of a game that i'm developing
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic