forked from tTh/FloatImg
a little bla
This commit is contained in:
parent
0f2b0ec916
commit
6d4df793da
@ -23,6 +23,7 @@
|
||||
static int nextpng, counter;
|
||||
static char *destination;
|
||||
static int chainfilter;
|
||||
static int outtype;
|
||||
|
||||
/* and the classic global var */
|
||||
extern int verbosity;
|
||||
@ -60,6 +61,7 @@ int single_push_picture(FloatImg *pimg)
|
||||
{
|
||||
int foo;
|
||||
char line[1000], buff[100];
|
||||
char *extension = ".png";
|
||||
|
||||
#if DEBUG_LEVEL
|
||||
fprintf(stderr, ">>> %s ( %p )\n", __func__, pimg);
|
||||
@ -71,8 +73,7 @@ if ('/' != line[strlen(line)-1]) {
|
||||
strcat(line, "/");
|
||||
}
|
||||
|
||||
// fprintf(stderr, " destdir = '%s'\n", line);
|
||||
sprintf(buff, "%05d.png", nextpng);
|
||||
sprintf(buff, "%05d.%s", nextpng, extension);
|
||||
strcat(line, buff);
|
||||
|
||||
// fprintf(stderr, "writing %p to '%s'\n", pimg, line);
|
||||
|
@ -1,16 +1,21 @@
|
||||
/*
|
||||
SINGLE
|
||||
experimental and/or testing code, do not use in
|
||||
production.
|
||||
serious production.
|
||||
*/
|
||||
|
||||
/* -------------------------------------------------------------- */
|
||||
|
||||
/*
|
||||
* next:
|
||||
* dest:
|
||||
* fxchain:
|
||||
* outfmt: see floatimg.h for FILE_TYPE_XXX constants
|
||||
*/
|
||||
int single_init(int next, char *dest, int fxchain, int outfmt);
|
||||
|
||||
int single_push_picture(FloatImg *pimg);
|
||||
|
||||
int single_print_state(char *title, int k);
|
||||
|
||||
/* -------------------------------------------------------------- */
|
||||
/* -------------------------------------------------------------- */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user