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

Apps How do I get the width and height of a Bitmap image?

Discussion in 'Android Development' started by wata, Jun 24, 2010.

  1. wata

    wata Lurker
    Thread Starter
    Rank:
    None
    Points:
    6
    Posts:
    9
    Joined:
    Jun 23, 2010

    Question
    How do I get the width and height of a Bitmap image?

    I tried using b.getWidth() and b.getHeight() with no luck; its not returning the height nor the width.
     

    Advertisement

  2. wata

    wata Lurker
    Thread Starter
    Rank:
    None
    Points:
    6
    Posts:
    9
    Joined:
    Jun 23, 2010

    Never mind, stupid mistake on my part.
     

Share This Page

Loading...