Commit 592c0b2a authored by flechsig's avatar flechsig
Browse files

fix Makefile and main for png output

parent 685bdd82
......@@ -7,7 +7,7 @@ CC = g++
# switches
DEBUG = -DDEBUG
DEFS = -DLINUX -DUSE_DOUBLE_PRECISION -DHAVE_TIFF -DHAVE_HDF5 $(DEBUG)
DEFS = -DLINUX -DUSE_DOUBLE_PRECISION -DHAVE_TIFF -DHAVE_PNG -DHAVE_HDF5 $(DEBUG)
CFLAGS = $(DEFS) -O3 -std=c++0x -c
LDFLAGS = -lm
LIBS = -ltiff -lpng -lhdf5 -lfftw3
......
......@@ -52,7 +52,8 @@ int main(int argc, char **args)
printf("debug 3: step %d\n", dbgstep++);
#endif
put_in.save_tiff("input.tif");
// put_in.save_tiff("input.tif");
put_in.save_png("input.png");
put_in.sub(&dark);
#ifdef DEBUG
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment