#1 Re: PDF Engine » Highly reduced generated PDF file size » 2014-11-23 23:51:24

Yes, same content and settings.

The content does have images, but they are the same images.

I adjusted the image compression settings but it did not alter the difference between 1.17 and 1.18.

#2 Re: PDF Engine » Highly reduced generated PDF file size » 2014-11-14 02:05:56

I did a comparison of file size between 1.17 and 1.18. On a 20 page file, generated from HTML (htmlviewer):

1.17: 365KB
1.18 pdf15=false: 498KB
1.18 pdf=true:   : 497KB

Using acrobat, I can reduce the file sie to 131KB.

Are there some settings I have missed?

#3 Re: PDF Engine » htm2pdf free tool release » 2010-11-18 22:34:53

Would you expect this to work in a windows service? I have got it working in a forms application, but not in a non-interactive mode.

I get a stack overflow in CompressStream (called from InternalWriteTo).

THtmlViewer has a form as parent, but is not visible.

Something is going wrong in here:
      TmpStream := THeapMemoryStream.Create;
        TmpSize := CompressStream(TMemoryStream(FWriter.fDestStream).Memory,
        FLength.Value := TmpSize;

Board footer

Powered by FluxBB