forked from tTh/FloatImg
32 lines
499 B
C
32 lines
499 B
C
|
/*
|
||
|
* FloatImg : some dithering experiments
|
||
|
*/
|
||
|
|
||
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
#include <string.h>
|
||
|
#include <math.h>
|
||
|
|
||
|
#include "../floatimg.h"
|
||
|
|
||
|
extern int verbosity;
|
||
|
|
||
|
/* --------------------------------------------------------------------- */
|
||
|
int fimg_dither_0(FloatImg *psrc, FloatImg *pdst, int flags)
|
||
|
{
|
||
|
int x, y;
|
||
|
|
||
|
for (y=0; y<psrc->height; y++) {
|
||
|
|
||
|
for (x=0; x<psrc->width; x++)
|
||
|
{
|
||
|
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|
||
|
return -1;
|
||
|
}
|
||
|
/* --------------------------------------------------------------------- */
|
||
|
|