On Wed, 13 Apr 2016, Ondrej Pokorny wrote:
On 13.04.2016 13:42, Michael Van Canneyt wrote:
The support for compressed images and embedding of raw JPEG is in SVN too,
sample program adapted to demonstrate this (-i -j command line options).
Thank you very much!
Just 2 points:
1.) Is the "Writeln('Compressing : ',poCompressImages in Owner.Options);"
line wanted/necessary? Maybe you forgot {$ifdef gdebug}?
I will look at it ASAP.
2.) Don't we have too much TPDFOptions for compressing? In the future raw PNG
embedding may be added and thus poUseRawPNG will be added (?). Maybe
poUseRawJPEG can be omitted and replaced by poCompressImages?
No, they do different things.
Also 3 options for compressing "poCompressText, poCompressFonts,
poCompressImages" seem to be useless for me. I either want to compress
everything to get a small file or compress nothing to get a fast file.
I prefer more options, it gives more fine-grained control.
We can make a
CompressAll = [poCompressText, poCompressFonts, poCompressImages];
constant if you want, which will be kept up-to-date with all compression
options.
Michael.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus