int main(void)
{
- SDL_Surface *foo = IMG_Load("/home/sesse/clusterfuck/overlay-shadow.png");
+ SDL_Surface *foo = IMG_Load("overlay-shadow.png");
vector<Pixel> pixels;
for (int y = 0; y < foo->h; ++y) {
write_png("indexed.png", out, foo->w, foo->h);
// Write indexed stuff.
- FILE *fp = fopen("/home/sesse/logo.indexed", "wb");
+ FILE *fp = fopen("logo.indexed", "wb");
for (unsigned i = 0; i < NUM_CLUSTERS; ++i) {
const Pixel& p = center[i];
fputc(lrintf((p.r/p.a) * 255.0), fp);