a small debug func
This commit is contained in:
@@ -57,6 +57,11 @@ fprintf(stderr, " sz filehead = %lu\n", sizeof(FimgFileHead));
|
||||
fprintf(stderr, " sz filter = %lu\n", sizeof(FimgFilter3x3));
|
||||
}
|
||||
/* --------------------------------------------------------------------- */
|
||||
void fimg_printdims(char *txt, FloatImg *pi)
|
||||
{
|
||||
fprintf(stderr, "# %s %dx%d\n", txt, pi->width, pi->height);
|
||||
}
|
||||
/* --------------------------------------------------------------------- */
|
||||
void fimg_printhead(FloatImg *h)
|
||||
{
|
||||
printf("%5d %5d %2d %p %p %p %p\n", h->width, h->height, h->type,
|
||||
|
||||
Reference in New Issue
Block a user