X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fgfx2gfx.c;h=67951a1b0c53a33eaa671538d7378b90f4f0d703;hb=a61b92b4ac72cd15ee0f3165f2e7a2f5ac00f156;hp=85d688243f6cbb9366cc2c13a3b33246ea418d47;hpb=10b60d36fcf6cc9532bf397866c5bdc3393246eb;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 {