Project Detail

Read and Display Bitmap with VC++ 6  

Read and Display Bitmap with VC++ 6 is project number 178918
posted at Freelancer.com. Click here to post your own project.

 

| More Free Trial For New Buyers
 

Status:

Selected Providers: RavaSoftware

Budget: $30-100

Created: 09/20/2007 at 13:28 EDT

Bid Count: 10

Average Bid:
$ 52

09/23/2007 at 13:28 EDT

Project Creator: searchei
Employer Rating: 10/1010/1010/1010/1010/1010/1010/1010/1010/1010/10 (19 reviews)

Bid On This Project
 

Description

This problem is probably really easy for someone with VC++ 6 experience.

I have an old program that I am trying to decipher (I am not a VC++6 programmer) so I am not sure exactly how the bitmap stuff works. But what I need to do is the following

1) Read as 32bit GrayScale or monochrome bitmap from a file;
2) Reduce it to 16 Bit;
3) Display it with the following function

So basically I need to get the reduced 16 bit data and placed in the UCHAR *ViewBuff like this

ShowCapturedPrint(0,0,640,480,ViewBuff );

See attached bitmap file

/******************************************************
// function: ShowCapturedPrint
// parameters: none
// return value: none
// purpose: show the last live print
/******************************************************/
void ShowCapturedPrint(short xoff, short yoff, short Width, short Height, UCHAR *ViewBuff)
{
HDC hDC;

short nx, ny;

hDC = GetDC(h_MainWindow);
Rectangle(hDC,0,0,n_ParentVideoWidth,n_ParentVideoHeight);
for(nx = xoff; nx<Width+xoff; nx++)
{
for(ny = yoff; ny<Height+yoff; ny++)
{
if(ViewBuff[nx + ny*Width] != 0)
SetPixel(hDC, nx, ny, RGB(0,0,0)); // offset the picture by the cropping values
}
}
ReleaseDC(h_MainWindow, hDC);
}



Additional files submitted:
Capture.zip

Job Type

Messages Posted:1 View project clarification board Post message on project clarification board

Bid On This Project
 

If you are the project creator or one of the bidders Log In for more options

 

50

5 days

09-21-2007 00:14 EDT

Hi, If you have seen our bid message, kindly send a PM and we will get into a discussion. thank you.

help

vip

 

70

3 days

09-21-2007 06:53 EDT

Hello, can be done please chek pm. regards, yurii

help

 

70

3 days

09-20-2007 20:10 EDT

hi, i have made many programs that reads BMP files and apply filters and compression algorithms. so i can help u efficiently. Best regards, Hussien Sharaf

help

 

30

0 days

09-21-2007 05:26 EDT

Please see my PM. Regard.

help

 

70

0 days

09-21-2007 00:46 EDT

Hello, I have an experience with VC6 and I can do it quickly. If you have some sources, send me them please. I'll fix them and make ready project. If you have no them, I'll use my own. Thanks, Andrey. PS. Payment via escrow required.

help

 

35

1 day

09-21-2007 02:23 EDT

This is easy and little time consuming task :)

help

 

50

5 days

09-21-2007 01:46 EDT

(No Feedback Yet)

hi,i can it.please give me.thaks

help

 

60

2 days

09-21-2007 01:52 EDT

(No Feedback Yet)

I could give you the result at this weekend. Thank you!

help

 

30

1 day

09-21-2007 06:46 EDT

(No Feedback Yet)

Hi,I have the similar code.I'm ready to start working on your project right away.Best Regards.

help

 

50

15 days

09-21-2007 09:12 EDT

(No Feedback Yet)

Hi Sir. I'm ready to do it for you. You can count on me. Let's get started.

help


    Bid on this Project