NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use
trunk.foswiki.org to view this page for some minimal testing.
Use
Item11383 for general documentation changes for release 1.1.5. Use
Item9693 for docu changes for release 2.0.
Item2492: GenPDFAddOn - compression sometimes corrupts images
| Priority: |
CurrentState: |
AppliesTo: |
Component: |
WaitingFor: |
| Normal |
Closed |
Extension |
GenPDFAddOn |
|
SeanMorgan pointed out in
Support.Question336 that htmldoc can cause corrupted images if compression is enabled.
I found that it helped to modify /lib/Foswiki/Contrib/GenPDF.pm (down near the end, where all the other arguments are added) to add an extra argument.
push @htmldocArgs, "--no-compression"; # Work-around for image corruption problem
-- SeanMorgan - 10 Dec 2009
We need an option to disable PDF Compression. Default will remain to generate compressed PDF documents.
- #Set GENPDFADDON_DISABLECOMPRESSION = 1
Added two options -
- pdfcompression - set to "none" or 1-9
- pdfjpegquality - set to "none" or quality 01-99
Topic revision: r5 - 09 Mar 2010 - 21:22:51 -
GeorgeClark