diff --git a/pdfio-file.c b/pdfio-file.c index 07b7aa5..350a6f5 100644 --- a/pdfio-file.c +++ b/pdfio-file.c @@ -350,7 +350,7 @@ pdfioFileCreatePage(pdfio_file_t *pdf, // I - PDF file // Create a contents object to hold the contents of the page... contents_dict = pdfioDictCreate(pdf); -// pdfioDictSetName(contents_dict, "Filter", "FlateDecode"); + pdfioDictSetName(contents_dict, "Filter", "FlateDecode"); contents = pdfioFileCreateObject(pdf, contents_dict); @@ -377,8 +377,7 @@ pdfioFileCreatePage(pdfio_file_t *pdf, // I - PDF file pdf->pages[pdf->num_pages ++] = page; // Create the contents stream... -// return (pdfioObjCreateStream(contents, PDFIO_FILTER_FLATE)); - return (pdfioObjCreateStream(contents, PDFIO_FILTER_NONE)); + return (pdfioObjCreateStream(contents, PDFIO_FILTER_FLATE)); }