If I had the user loading Images
And I wanted to scale that Image into 300 dip x 300 dip Imageview
What is the best way?
Just say the user loads a 800w X 500h photo
But you really don't know the exact size since the user is picking it.
Goal: I want to retain aspect ratio of original photo scaled down to fit inside that window
Goal2: I want to resize this bitmap so I am not working with huge files also
Thanks
Chooser.Show("image/*", "Choose image")
And I wanted to scale that Image into 300 dip x 300 dip Imageview
What is the best way?
Just say the user loads a 800w X 500h photo
But you really don't know the exact size since the user is picking it.
Goal: I want to retain aspect ratio of original photo scaled down to fit inside that window
Goal2: I want to resize this bitmap so I am not working with huge files also
Thanks
Last edited: