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


Last Updated:

  1. wata

    wata Member This Topic's Starter

    Joined:
    Jun 23, 2010
    Messages:
    9
    Likes Received:
    1
    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 Member This Topic's Starter

    Joined:
    Jun 23, 2010
    Messages:
    9
    Likes Received:
    1
    Never mind, stupid mistake on my part.
     

Share This Page

Loading...