Go Back   Android Forums > Android Community > The Lounge > Computers & IT

Find everything you need for the Galaxy S5 and discuss it in our S5 forum!
Have you seen that OnePlus One's awesome camera?? The forum is over here!

test: Reply
 
LinkBack Thread Tools
Old November 28th, 2012, 04:54 AM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Nov 2012
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default image question

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.

amey77 is offline  
Reply With Quote
sponsored links
Old November 28th, 2012, 05:15 AM   #2 (permalink)
Member
 
jimbobcook's Avatar
 
Join Date: Jun 2012
Location: UK
Gender: Male
Posts: 197
 
Device(s): HTC One X, iPhone 3GS, iPad 4
Carrier: EE (Orange/T-Mobile)

Thanks: 21
Thanked 15 Times in 14 Posts
Default

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

Cheers
__________________
For the next 60 seconds, I will conduct a test of my emergency broadcast equipment. AAAAHHHHH!!! Had this been a real emergency, the scream you just heard would be followed by lots more just like it. This concludes My test of my emergency broadcast equipment.
jimbobcook is offline  
Reply With Quote
The Following User Says Thank You to jimbobcook For This Useful Post:
9to5cynic (November 29th, 2012)
Old November 29th, 2012, 09:00 PM   #3 (permalink)
Disabled
 
Join Date: Jul 2012
Posts: 2,033
 
Device(s):
Carrier: Sprint

Thanks: 541
Thanked 556 Times in 440 Posts
Default

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.
Speed Daemon is offline  
Reply With Quote
The Following User Says Thank You to Speed Daemon For This Useful Post:
9to5cynic (November 29th, 2012)
Reply


Go Back   Android Forums > Android Community > The Lounge > Computers & IT
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:04 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.