C++ Win32 Capture Screen + Save PNG

Closed

I need a C++ library called WindowGrab in the namespace "Fusion" created as a static Win32 library (.lib). This library will expose the WindowGrab class that will have a set of functions to capture a window and save it as a PNG file using libpng. The function won't actually save to disk but will save to a sqlite3 database.

Public functions

bool Init(sqlite3 *pDB); // Database that is already open. Your class should check for a WindowGrab table with the correct columns. If the correct table doesn't exist or the columns are wrong (possibly a wrong version) then wipe it and create the correct table. Same for WinThumbs.

bool SaveWindow(HWND hWnd, __int64 *pResultID, __int64 *pResultThumb); // Given a window handle, save a screen capture of the window as well as a 128x"y" thumbnail in the WinThumbs table. The resulting row (sqlite's internal ROWID value) is returned. The title of the window, class and location are also saved.

Notes: If the call is made within 5 seconds for the same window and no other windows are saved in the meantime, the same results are returned and no new capture is done.

void Dump(HANDLE hOutput, __int64 rowID, bool isThumb) // This will dump the image complete with HTTP headers (content type, content size, no cache header and image data).

void GetInfo(__int64 rowid, TCAPTUREINFO *pInfo) ; // Return a structure with all the info from a capture (title, date, time, etc)

## Deliverables

Visual Studio 2005 SLN which includes a small test and the library.

Skills: C Programming, Engineering, MySQL, PHP, Software Architecture, Software Testing

See more: capture screen, win32 screen capture, win32 save png, window capture, windows capture screen, winthumbs, capture screen win32, screen capture png, win32 save screen, windows save png, capture screen save png, capture screen png, png win32, save png, png save, create save png file windows, wrong header, win32 programming, type of data structure in c, static programming, data structure with c, data structure programming in c, data structure in c notes, c using data structure, c programming static

Project ID: #3753451

Awarded to:

corecpp

See private message.

$153 USD in 4 days
(88 Reviews)
6.3

11 freelancers are bidding on average $114 for this job

mediatrendmaster

See private message.

$153 USD in 4 days
(27 Reviews)
6.8
volcinschidaniel

See private message.

$85 USD in 4 days
(37 Reviews)
5.0
cmachine

See private message.

$85 USD in 4 days
(15 Reviews)
4.7
usmanriaz

See private message.

$136 USD in 4 days
(7 Reviews)
4.4
tomplus

See private message.

$127.5 USD in 4 days
(15 Reviews)
4.1
ValTech

See private message.

$93.5 USD in 4 days
(6 Reviews)
3.5
maxbor

See private message.

$110.5 USD in 4 days
(5 Reviews)
2.5
onurissi

See private message.

$85 USD in 4 days
(0 Reviews)
0.0
adrian149

See private message.

$85 USD in 4 days
(0 Reviews)
1.0
dk3232

See private message.

$136 USD in 4 days
(4 Reviews)
0.0