Read image to std::vector<std::vector> and write to image from std::vector<std::vector>
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <sstream>
#include <stdio.h>
using namespace std;
int main(){
ifstream binary("binary_dog.txt" , ios::in | ios::app | ios::binary);
// ofstream image("pro.jpg" , ios::out | ios::app);
// char ch;
// while(!binary.eof()){
// ch = binary.get();
// image.put(ch);
// }
// cout<< "Finished" << endl;
// image.clear();
// binary.close();
std::vector