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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T06:46:22+00:00 2026-05-24T06:46:22+00:00

In my application I have an image viewer and I am getting bitmaps from

  • 0

In my application I have an image viewer and I am getting bitmaps from web server.
In order to increase the performance of my app, I have a buffer of bitmaps.
The max size of one bitmap can be 0.5mb.
I have bufferSize variable where I want to store the buffer bytes count and therefore I need to know
each Bitmap size which I am going to add in buffer.And if the bites count exceed some X number I delete the bitmap from front of buffer.
And here is my problems:

  1. I don’t know how to define bitmap bytes count
  2. I need a suggestion about X number .

Thanks in advance.

  • 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-24T06:46:24+00:00Added an answer on May 24, 2026 at 6:46 am
    1. You can get the number of bytes in a Bitmap using the getByteCount() method.
    2. Depends on how much memory your app is using, how many images you are retrieving from the web server, and how often you need to display them. Use some fraction of System.maxMemory(). In any case
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an approach in mind for an image viewer in a web app,
In my web application I have an image uploading module. I want to check
I have an application where I can have an image moving towards the eye.
I have an Image control in my Flex application: <mx:Image id=img source=@Embed('img.png') percentHeight=100 percentWidth=100
For part of my application I have a need to create an image of
In an iPhone application I'm developing I have a Image View that displays eyes
I have an application that displays an image inside of a Windows Forms PictureBox
I have an application that uses the Paperclip plugin for image upload. Now that
I have an application that needs to highlight individual pixels on an image. I
I'm working on an image processing application where I have two threads on top

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.