Blob Blame Raw

#include <math.h>
#include <time.h>
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#ifndef TRUE
#define TRUE 1
#endif

#ifndef FALSE
#define FALSE 0
#endif

#ifndef PI
#define PI 3.14159265358979323846
#endif


double randomFloat()
 { return (double)rand()/RAND_MAX; }


#include "arg.inc.c"
#include "img.inc.c"
#include "img.ldr.inc.c"
#include "filter.bw.inc.c"


int main(int argc, char **argv) {
  srand(time(NULL));
  return !bwGenerate(argc - 1, argv + 1);
}