Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7623417
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T04:42:06+00:00 2026-05-31T04:42:06+00:00

I am retrieving an image(as a Bitmap) from res/drawable folder and displaying it using

  • 0

I am retrieving an image(as a Bitmap) from res/drawable folder and displaying it using a custom view by overriding onDraw method. The actual resolution of the image is 400*400. But when I measured the Bitmap size after retrieving it from res/drawable, I found the image size to be 200*200. I actually want to retain the original Image resolution. How can I do this.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T04:42:07+00:00Added an answer on May 31, 2026 at 4:42 am

    When loading an image using the BitmapFactory, you can pass an Options object.

    Set the field inScaled of your Options object to false and the bitmap will load with no scaling.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm retrieving image from DB using Stream. Need someone to help me to convert
I have a rather simple task, retrieving an image file from a virtual folder
I am retrieving facebook album images from facebook.I have calculating the image size using
I am retrieving an image from the SQL database into Byte() variable in VB.NET.
i have copied image from UIwebView using clipboard and i want to mail it.For
I am retrieving an image from my SQLite table and converting it to a
I am trying to retrieving image from sql server 2005 into asp.net web page
I am using this to get image bytes from the database cmd.CommandText = select
I am retrieving a list of items from a URL and displaying them in
For retrieving image from blobstore, I usually do the following and it works: <img

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.