blob: f818141608f2f3dc2eeb5f1c6cb9588699e7f08e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include <stdint.h>
#include <boost/shared_ptr.hpp>
#include "image.h"
#include "server.h"
using namespace boost;
int main ()
{
uint8_t* rgb = new uint8_t[256];
shared_ptr<Image> image (new Image (rgb, 0, 32, 32, 24));
Server* s = new Server ("localhost", 2);
image->encode_remotely (s);
return 0;
}
|