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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:10:12+00:00 2026-05-27T07:10:12+00:00

I am working on a Midlet application. I am finding myself in the need

  • 0

I am working on a Midlet application. I am finding myself in the need to scale images very often. This has become a problem because some phones are pretty slow and scaling takes too long.

Currently I’m using Image.createRGBImage(int, int, int, boolean) to scale the image.

I was wondering if any of you knew of a very efficient and fast way to scale an image.

Note: this is a Midlet application so only JavaME is available, meaning I don’t have access to some other libraries available in the full java version.

Note2: most of my scaling is done from small to large images, although I also do scale down the image.

  • 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-27T07:10:13+00:00Added an answer on May 27, 2026 at 7:10 am

    Keep in mind that there’s always a trade between speed and image quality when discussing scaling algorithms, and the ideal solution for your case might require some research and testing.

    Nearest neighbor is the simplest and fastest implementation of image scaling.

    There’s a nice intro on image scale/resize on Coding Horror which reviews a couple of techniques and compares their quality.

    I imagine you are working with a very small displaying device, so image quality doesn’t really matter at the end. Some people are calling this the fastest image scaling implementation for J2ME.

    But if you are willing to read some other stuff, this paper presents a low cost (meaning “very fast”) algorithm for scaling that significantly improves on nearest neighbor interpolation. There’s source code available, and they also present an evolution of that research here.

    At last but not least, cvResize() from OpenCV (open source/cross-platform library for image processing). The folks at willow garage are pretty good at making fast procedures for image/video processing, and this function provides a couple of techniques for scaling, so it might be worth to check it’s implementation.

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

Sidebar

Related Questions

i am working with Eclipse to develop a application in J2ME.In This application i
I'm working in a Java Me application that uses google static maps. The problem
Working with OWASP's ESAPI, I found myself stuck at this particular line of code.
Working with an Oracle 9i database from an ASP.NET 2.0 (VB) application using OLEDB.
I'm dealing with a midlet in j2me, and I have this thread class (say
I made the simple j2me login application, code is below. It's working perfectly on
Working with an API where I need to send a value over in an
Working with Json, how can I NSlog only the title in this code: NSDictionary
I am developing one project using LWUIT, Midlet mobile Application. when I press number
I'm currently working with MIDlets (I am using a Visual MIDlet) in Netbeans, and

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.