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

  • Home
  • SEARCH
  • 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 8422819
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T03:33:46+00:00 2026-06-10T03:33:46+00:00

In order to minimize the memory usage of bitmaps, yet still try to maximize

  • 0

In order to minimize the memory usage of bitmaps, yet still try to maximize the quality of them, I would like to ask a simple question:

Is there a way for me to check if a given image file (.png file) has transparency using the API, without checking every pixel in it?

If the image doesn’t have any transparency, it would be the best to use a different bitmap format that uses only the RGB values.

The problem is that Android also doesn’t have a format for just the 3 colors. Only RGB_565, which they say that degrade the quality of the image and that should have dithering feature enabled.

Is there also a way to read only the RGB values and be able to show them?

  • 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-06-10T03:33:48+00:00Added an answer on June 10, 2026 at 3:33 am

    i’ve found the next links which could be helpful for checking if the png file has transparency . sadly, it’s a solution only for png files . rest of the files (like webP , bmp, …) need to have a different parser .

    links:

    http://www.java2s.com/Code/Java/2D-Graphics-GUI/PNGDecoder.htm

    http://hg.l33tlabs.org/twl/file/tip/src/de/matthiasmann/twl/utils/PNGDecoder.java

    http://www.java-gaming.org/index.php/topic,24202

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

Sidebar

Related Questions

In order to minimize the localization efforts I would like to be able to
In order to minimize the number of database queries I need some sort of
I implemented a gradient descent algorithm to minimize a cost function in order to
I am working on a soft-realtime event processing system. I would like to minimise
It's been suggested that this might be a reasonable approach, in order to minimize
I'm doing some cleanup in my Delphi XE2 IDE in order to minimize the
I am developing web application with Java EE 6. In order to minimize calls
I wanted to minimize sql queries as possible in order to save some load
order by in query is taking to much time in MySQL. SHOW PROFILES shows
Order by descending is not working on LINQ to Entity In the following Query

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.