1. Download our Official Android App: Forums for Android!

Apps ColorMatrix and getting the changed colors

Discussion in 'Android Development' started by marijamih, Oct 13, 2009.

  1. marijamih

    marijamih Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Oct 13, 2009

    Oct 13, 2009
    1
    0
    5
    Hello all,
    I am new to android developing as well as to java developing and I have one problem that is bothering me, it goes like this:
    - I have a bitmap with the Paint object called "bmpPaint".
    - The bitmap is changed by ColorMatrix applied to Paint (e.g. bmpPaint.setColorFilter(new ColorMatrixColorFilter(mCM))

    Now, how can I get the changed color at pixel x,y?

    Currently I am only getting the old colors.
     

    Advertisement

Share This Page

Loading...