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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T02:35:28+00:00 2026-06-18T02:35:28+00:00

Am I correct in assuming that if I have an irregular shaped sprite (anything

  • 0

Am I correct in assuming that if I have an irregular shaped sprite (anything other than a square / rectangle) that needs to be drawn over a background image, I can’t use RGB565 as this format doesn’t have an alpha channel for transparency?

Does this make the RGB565 format effectively useless for the vast majority of game sprites or am I getting this wrong?

Are there any other options? Which is the best format for me to use for best performance?

I ask this because I converted my original bitmaps to RGB565 using

options.inPreferredConfig = Bitmap.Config.RGB_565;

And they appear to be OK – ie still have their transparency.

But when I try to re-colour a sprite using RGB565 it appears with a black square around it so I’m a little confused!!!!h

Thanks all

  • 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-18T02:35:29+00:00Added an answer on June 18, 2026 at 2:35 am

    The reason your loaded RGB565 bitmaps seems to work is because if your bitmaps have alpha, they will be loaded as ARGB444 or ARGB8888. The inPreferredConfig is only a hint that you want your bitmap in that format if possible.
    No conversion is made.
    You can see this by calling getConfig() on the loaded bitmaps.

    You can always load a bitmap with RGB565 and another as A8, and use them together, but the cost of doing this is probably higher than just using one of the ARGB formats.

    So, to summarize, just use ARGB8888, or if memory is an issue, ARGB4444 (although this is deprecated)

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

Sidebar

Related Questions

Am I correct in assuming that if you have an object that is contained
Am I correct in assuming that I have to MANUALLY convert Json-encoded date strings
Short one: Am I correct in assuming, that the Samsung Galaxy S wifi 4.0
Assuming that I have an instance of ASTRewrite of which I can not make
Assuming that is even the correct term, what's the deal with them? jQuery(#removeUser, jQuery(myform)).click(
Given certain multibyte character sets, am I correct in assuming that the following doesn't
Assuming that I have an entity which is mapped with Hibernate ( E )
Am I correct in assuming that Textsearch in a ComboBox gives me a text
Assuming that I have objects similar to this: public class User { public int
Am I correct in assuming that the only difference between "windows files" and "unix

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.