Posted 1 Days Ago Job ID: 2117550 3 quotes received

Windows C++ Image Clipping

Fixed Price
Quotes (3)  ·  Premium Quotes (0)  ·  Invited (0)  ·  Hired (1)

  Send before: April 20, 2026

Send a Quote

Programming & Development Programming & Software

1) Take a screen shot.  I already have code for this.

2) Clip out a rectangle given coordinates and save it. See Rectangle.bmp as an example.

3) For each piece of the smaller image using floodfill, make a new sprite. 

4) Resize each piece to a given new size.  See Rectangle0.bmp as an example.

5) Save each piece to a file. In this example 5 new sprites will be generated from the original clipped rectangle.


In the example, use the upper left corner pixel value as the background. Ignore the background color.

Scan the image and find the first non backgroung pixel. Let's say we first find the G. Using flood fill algorithm extract this image piece.

Any pixel value not equal to the background is part of this piece. Let's pretend it ends up being 17x21.

Resize it to an input size, in this example 100x100,

Save it as Rectangle0.bmp.

Repeat for finding the 4 more pieces.


The deliverable wil be a Visual Studio project with source code.


... Show more
Christopher M United States