mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2025-02-18 18:02:51 +01:00
Switch back to compressed page content streams.
This commit is contained in:
parent
94cb915885
commit
f1fb09c6c0
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user