image question

Last Updated:

  1. amey77

    amey77 New Member

    I have a image of size 350*350 , now i want to scale or resize it to smaller size say (100dp * 100dp) and place it in ImageView,, but when i do so in code, image is getting distorted...i want it to maintain its same quality , but it is getting distorted.
    I tried to scale it using Bitmap.createSacledBitmap, but didnt helped
    Please suggest.

  2. jimbobcook

    jimbobcook Well-Known Member

    Hi amey77

    Welcome to the Forum...

    I have moved your post to the Computers and IT section to hopefully get you a better answer :)

    Please feel free to place another thread in the Introductions Forum with information about yourself for the team

    9to5cynic likes this.
  3. Speed Daemon

    Speed Daemon Disabled

    For the sake of clarity, do you need to do this on your Android device, without help from a computer?

    As you probably already know, simple picture editing software like MS Paint (that comes with Windows) can do this easily.

    I regret that I can't help you with the class that you mentioned. Maybe this example could help you. Notice that both H and V values must be defined.
    9to5cynic likes this.

Share This Page