Image Manipulation


Last Updated:

  1. otb82

    otb82 New Member This Topic's Starter

    Joined:
    May 26, 2009
    Messages:
    1
    Likes Received:
    0
    Hi,
    I would like to save on the disk the result of the merge of 2 pictures:
    - a wallpaper
    - a transparent png on the top

    I have no idea where to start my search.
    Thanks for your help.
     

    Advertisement
  2. LambergaR

    LambergaR New Member

    Joined:
    Aug 25, 2009
    Messages:
    1
    Likes Received:
    1
    You simply say:

    Canvas canvas = new Canvas();
    Bitmap result_image = Bitmap.createBitmap( width, height, Config.ARGB_8888 );
    canvas.setBitmap( result_image );

    then you can draw on canvas ( for drawing a bitmap use drawBitmap method ). When done you can see the result in result_image.

    Hope that helps ;)
     
    Droid Chris likes this.
  3. Droid Chris

    Droid Chris Member

    Joined:
    Jun 8, 2010
    Messages:
    14
    Likes Received:
    0
    This helped me alot. I have been searching days for a proper solution to my issue and this has put me on the right path. Thanks a lot!
     
  4. Ulrika

    Ulrika New Member

    Joined:
    Aug 29, 2011
    Messages:
    2
    Likes Received:
    0
    Hello ,
    Can you point me to some code samples to manipulate pixels , I want to change the Original pixel colors to the desired ones , like R-G etc..

    Ulrika
     

Share This Page

Loading...