3 changed files with 56 additions and 1 deletions
@ -0,0 +1,20 @@
@@ -0,0 +1,20 @@
|
||||
# Fonctions |
||||
|
||||
Plein de fonctions qu'il serait bon de documenter :) |
||||
|
||||
## Contours |
||||
|
||||
Détecter des contours est une activité respectable. |
||||
|
||||
## Exporter |
||||
|
||||
Une méta-fonction qui va sauvegarder (dans la mesure de ses conséquences) |
||||
une image en fonction de l'extension du nom de fichier. |
||||
|
||||
## Sfx |
||||
|
||||
Effets spéciaux divers. |
||||
|
||||
## Dithering |
||||
|
||||
Work in progress... |
@ -0,0 +1,31 @@
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* 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; |
||||
} |
||||
/* --------------------------------------------------------------------- */ |
||||
|
Loading…
Reference in new issue