Closed

Android Consultant - high performance improments

This project received 20 bids from talented freelancers with an average bid price of €17 EUR / hour.

Get free quotes for a project like this
Employer working
Project Budget
€12 - €25 EUR / hour
Total Bids
20
Project Description

We are looking for Android developer to help us optimize following code:

// this code transforms bitmap for printing in Black and White for Receipt Printer using ESC/POS commands.

for (int i = 0; i < height; i++) {

for (int x = 0; x < tmp; x++)

data[x] = 0;

for (int x = startx; x < width; x++) {

final int pixel = [url removed, login to view](x - startx, i);

if ([url removed, login to view](pixel) == 0 || [url removed, login to view](pixel) == 0

|| [url removed, login to view](pixel) == 0) {

data[x / 8] += 128 >> (x % 8); // (byte) (128 >> (y % 8));

}

}

// write(data);

}

This code is used to transform Bitmap to BW image for printing. On larger images like 400x1000px this has too many iterations and takes 2-5 seconds to compute. We need faster much way. Only bids with genuine response to this particular problem will be accepted.

Skills Required

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online