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 7660375
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T13:27:25+00:00 2026-05-31T13:27:25+00:00

I have created a png in gimp and I am reading it as bitmap

  • 0

I have created a png in gimp and I am reading it as bitmap in Android.
When I deploy the app on Galaxy Tab 10.1 (ICS) I get the right rgb values, but in emulator and on Xperia Arc (Android 2.3.3) I get slightly different rgb values.

For Example
I set a pixel value to (255, 255, 200) in gimp and export png. When I create a bitmap from resource (while using emulator/Xperia Arc using 2.3.3) I get values (255, 255, 206), while on Galaxy Tab/emulator (using 4.0 (ICS)) I get the right values (255, 255, 200)

I am not sure why is that. Can show you guys the code if it helps.
Thanks

  • 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-31T13:27:26+00:00Added an answer on May 31, 2026 at 1:27 pm

    It looks like the emulator is performing gamma correction. Monitors typically have a gamma value of around 1.2. Any RGB channel value you send to the monitor (0.0–1.0) will be raised to that exponent before display. The emulator appears to be using a gamma of around 0.87 to compensate. Although the values will differ, colours on the emulator will more closely match those on the device.

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

Sidebar

Related Questions

I have created 3 files for the app icon: Icon.png, Icon-72.png, and Icon@2x.png. Icon@2x.png
I have an Android app that I am currently developing. I have created icons
I have created bg3.9.png image following this tutorial http://developer.android.com/guide/developing/tools/draw9patch.html but when i put it
I have an app where I have several layers created from PNG images with
alt text http://home.elka.pw.edu.pl/~pkolodzi/Capture.PNG I have created the IAdder interface with two methods: PassA and
Using Eclipse IDE. The line: getClass().getResource(/res/bitmaps/image.png); returns null . I have created the res
I have created a png image in photoshop with transparencies that I have loaded
I have created/tried to create, a round button for android by using the ImageButton
I have created an option menu for my app like this: var activity =
I have created my iPhone .png application 'icon' (57x57 with 72 Resolution), however, when

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.