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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T09:59:25+00:00 2026-05-26T09:59:25+00:00

I am developing an app which has a lot of images to work on

  • 0

I am developing an app which has a lot of images to work on due to which the size of my app has become very large. I want to compress or something like that to reduce the size of app. Any idea?

  • 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-26T09:59:25+00:00Added an answer on May 26, 2026 at 9:59 am

    .png-files which are placed in the res/drawable are automatically optimized when compiling your app:

    Bitmap files may be automatically optimized with lossless image
    compression by the aapt tool during the build process.
    For example, a
    true-color PNG that does not require more than 256 colors may be
    converted to an 8-bit PNG with a color palette. This will result in an
    image of equal quality but which requires less memory. So be aware
    that the image binaries placed in this directory can change during the
    build. If you plan on reading an image as a bit stream in order to
    convert it to a bitmap, put your images in the res/raw/ folder
    instead, where they will not be optimized.

    That being said, you have some more options to try. There is a good talk on this topic from Google I/O 2016 called “Image Compression for Android Developers”, which outlines the possibilities, explains their up and downsides and gives some general best practices.


    If the size of your application is to high to be published on the market, you’ll can either

    • ship your app without the images and load them from the internet to the phones SD-card when the app is first started
    • Use Androids own APK Extension Files, which is basically the same but you don’t have to do everything yourself.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing an app which has a large amount of related form data to
I am developing an app which has some text inputs, and I want to
I'm currently in the process of developing an app which has some very demanding
So I am developing an app which contains a table view that has images
I've been developing a very large LOB app using my flavor of M-V-VM which
I am developing an Android App which has to support only normal and large
i am developing an app which has a evernote integration,everything works perfect but my
I am developing an app on iPad which has only animations. I am using
We are developing a mobile app in Android and iPhone which has a server-side
A Backbone app which I'm developing has a collection and a model, and associated

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.