You are not logged in.
Pages: 1
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.
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?
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;
try
TmpSize := CompressStream(TMemoryStream(FWriter.fDestStream).Memory,
TmpSize,TmpStream,7,true);
FLength.Value := TmpSize;
FAttributes.WriteTo(W);
W.Add(#10'stream'#10).Add(TmpStream.Memory,TmpSize).Add(#10'endstream');
finally
TmpStream.Free;
end;
Pages: 1