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