g++ -o ppm.exe ppmreader.cpp -std=c++11
Image ppmimage("texture.ppm");
Image ppmimage;
ppmimage.readppm("texture.ppm");
Image ppmimage(800,600,255,,Rgb::White);
ppmimage.writeppm("new.ppm");
Width , Height , Max pixel depth , Color
Rgb::Red
Rgb::Blue
Rgb::Black
Rgb::White
Rgb::Materialblue
Rgb::MaterialRed
Rgb().hex<0x000000>();
which is at compile time.
More features coming soon...