Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Contributor
arjuna
Posts: 48
Registered: ‎04-07-2011
My Device: 9550

Inverting Image Problem

Hi all,

 

 

        How to invert an Image in Blackberry.

 

 

Thanks & Regards, 

Nagarjuna Metla.

arjuna
Developer
peter_strange
Posts: 19,609
Registered: ‎07-14-2008
My Device: Not Specified

Re: Inverting Image Problem

Have a look at this:

http://supportforums.blackberry.com/t5/Java-Development/Rotate-and-scale-bitmaps/ta-p/492524

 

If all you want to do is invert the image, then you can just create a new Bitmap the same size, then use getARGB and setARGB to move the pixels to the inverted position.