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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T21:33:22+00:00 2026-05-25T21:33:22+00:00

Application size on a phone needs to be as small as possible. If I

  • 0

Application size on a phone needs to be as small as possible. If I have an image of a sword and then a very similar image of that same sword except that I’ve changed the color or added flames or changed the picture of the jewel or whatever, how do store things as efficiently as possible?

One possibility is to store the differences graphically. I’d store just the image differences and then combine the two images at runtime. I’ve already asked a question on the graphic design stackexchange site about how to do that.

Another possibility would be that there is that apk already does this or that there is already a file format or method people use to store similar images in android.

Any suggestions? Are there tools that I could use to take two pngs and generate a difference file or a file format for storing similar images or something?

  • 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-25T21:33:22+00:00Added an answer on May 25, 2026 at 9:33 pm

    I’d solve this problem at a higher level. For example, do the color change at run-time (maybe store the image with a very specific color like some ugly shade of green that you know is the color to be fixed at run-time with white or red or blue or whatever actual color you want). Then you could generate several image buffers at load-time.

    For compositing the two images, just store the ‘jewel’ image separately, and draw it over the basic sword. Again, you could create a new image at load-time, or just do the overdraw at run-time.

    This will help reduce your application’s footprint on flash, but will not reduce the memory footprint when the app is active.

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

Sidebar

Related Questions

I want to display an image at 'true size' in my application. For that
I have an application that lets users to choose pictures from their phone, once
I am an iphone application developer, all iphones have very similar Operating systems, and
If i have an application that needs to make calls and want to make
Is it possible to change the Passenger application pool size at runtime? Ie, without
I have an application where users can upload video files of any size, and
What's a reasonable maximum size that a cross-platform application could allow a text file
How do you optimize the heap size usage of an application that has a
I see that the Heap Size is automatically increased as the app needs it,
I want someone to help me, I have a case that seems very particular

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.