#define _CRT_SECURE_NO_DEPRECATE
#include "stdafx.h"
#include <iostream>
#include <cstring>
using namespace std;
unsigned int *buffer;
int _tmain(int argc, _TCHAR* argv[])
{
readfile("sdf");
return 0;
}
void readfile(string path) {
FILE *f = fopen(path, "rb");
buffer = new unsigned int[132 * 65]; // ask about size of proccessing photo. Answered: Full HD
fseek(f, 54, SEEK_SET);
fread(buffer, 132 * 65 * 4, 1, f);
fclose(f);
}