X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fgfx2gfx.c;fp=src%2Fgfx2gfx.c;h=67951a1b0c53a33eaa671538d7378b90f4f0d703;hb=c4d1967a7fdeb51f311012e56bc0567e842a97e0;hp=85d688243f6cbb9366cc2c13a3b33246ea418d47;hpb=0b38eabf882d8bdcd0e92995e8a2478db9cb5ed8;p=swftools.git diff --git a/src/gfx2gfx.c b/src/gfx2gfx.c index 85d6882..67951a1 100644 --- a/src/gfx2gfx.c +++ b/src/gfx2gfx.c @@ -34,6 +34,7 @@ #include "../../swftools/lib/devices/swf.h" #include "../../swftools/lib/devices/text.h" #include "../../swftools/lib/devices/render.h" +#include "../../swftools/lib/devices/file.h" #include "../../swftools/lib/devices/bbox.h" #ifdef HAVE_LRF #include "../../swftools/lib/devices/lrf.h" @@ -258,6 +259,8 @@ int main(int argn, char *argv[]) out->setparameter(out, "antialize", "4"); } else if(!strcasecmp(format, "txt")) { gfxdevice_text_init(out); + } else if(!strcasecmp(format, "log")) { + gfxdevice_file_init(out, "/tmp/device.log"); } else if(!strcasecmp(format, "pdf")) { gfxdevice_pdf_init(out); } else {