* Clarification on methods of toggling maximum compression @ 2012-08-10 22:19 Kip Warner 2012-08-10 22:57 ` Hans Hagen 0 siblings, 1 reply; 7+ messages in thread From: Kip Warner @ 2012-08-10 22:19 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 439 bytes --] Hey list, I've noticed at least three methods of setting what I think is the generated PDF to maximum compression. \setupbackend[level=9] \pdfcompresslevel9 \maximumpdfcompression Are these all redundant? Do they do different things? Do I need but one to achieve the desired maximum compression of the resulting PDF? -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com [-- Attachment #1.2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 198 bytes --] [-- Attachment #2: Type: text/plain, Size: 485 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Clarification on methods of toggling maximum compression 2012-08-10 22:19 Clarification on methods of toggling maximum compression Kip Warner @ 2012-08-10 22:57 ` Hans Hagen 2012-08-10 23:00 ` Kip Warner 0 siblings, 1 reply; 7+ messages in thread From: Hans Hagen @ 2012-08-10 22:57 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Kip Warner On 11-8-2012 00:19, Kip Warner wrote: > Hey list, > > I've noticed at least three methods of setting what I think is the > generated PDF to maximum compression. the official way, plays nicely with pdf standards: > \setupbackend[level=9] pretty low level, might even disappear (overloaded): > \pdfcompresslevel9 low level, but wil stay: > \maximumpdfcompression > Are these all redundant? Do they do different things? Do I need but one > to achieve the desired maximum compression of the resulting PDF? keep in mind that max compression slows down processing and often not much is gained Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Clarification on methods of toggling maximum compression 2012-08-10 22:57 ` Hans Hagen @ 2012-08-10 23:00 ` Kip Warner 2012-08-10 23:05 ` Hans Hagen 0 siblings, 1 reply; 7+ messages in thread From: Kip Warner @ 2012-08-10 23:00 UTC (permalink / raw) To: Hans Hagen; +Cc: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 671 bytes --] On Sat, 2012-08-11 at 00:57 +0200, Hans Hagen wrote: > > Are these all redundant? Do they do different things? Do I need but one > > to achieve the desired maximum compression of the resulting PDF? > > keep in mind that max compression slows down processing and often not > much is gained Hey Hans. My document shrinks from about 70 MB to 20MB with compression. But back to my original question, do I need all three or are they all redundant and only one of them I actually need? If only one is necessary, should I just use \setupbackend[level=9] ? -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com [-- Attachment #1.2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 198 bytes --] [-- Attachment #2: Type: text/plain, Size: 485 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Clarification on methods of toggling maximum compression 2012-08-10 23:00 ` Kip Warner @ 2012-08-10 23:05 ` Hans Hagen 2012-08-10 23:26 ` Kip Warner 0 siblings, 1 reply; 7+ messages in thread From: Hans Hagen @ 2012-08-10 23:05 UTC (permalink / raw) To: Kip Warner; +Cc: mailing list for ConTeXt users On 11-8-2012 01:00, Kip Warner wrote: > On Sat, 2012-08-11 at 00:57 +0200, Hans Hagen wrote: >>> Are these all redundant? Do they do different things? Do I need but one >>> to achieve the desired maximum compression of the resulting PDF? >> >> keep in mind that max compression slows down processing and often not >> much is gained > > Hey Hans. My document shrinks from about 70 MB to 20MB with compression. hm, suspicious > But back to my original question, do I need all three or are they all > redundant and only one of them I actually need? If only one is > necessary, should I just use \setupbackend[level=9] ? yes, that's best because as soon as that command is called, the set value of 'level' is used, no matter what other values has been set never use \pdf* commands directly .. way too low level and use the oher command only for fast tests (i use it in small test files) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Clarification on methods of toggling maximum compression 2012-08-10 23:05 ` Hans Hagen @ 2012-08-10 23:26 ` Kip Warner 2012-08-11 10:02 ` Hans Hagen 0 siblings, 1 reply; 7+ messages in thread From: Kip Warner @ 2012-08-10 23:26 UTC (permalink / raw) To: Hans Hagen; +Cc: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 1042 bytes --] On Sat, 2012-08-11 at 01:05 +0200, Hans Hagen wrote: > hm, suspicious Really? It's over 300 pages in length and contains plenty of vector graphics (more text). But actually that 70 MB seems an overestimate and I must have been looking at something else. > yes, that's best because as soon as that command is called, the set > value of 'level' is used, no matter what other values has been set Here is the result of some experimentation: 23,396,929 Bytes using just \setupbackend[level=9]. 21,945,243 Bytes using the aforementioned, \pdfcompresslevel9, and \maximumpdfcompression. 23,396,827 Bytes using none of those three. So I guess I'm still not sure which one to use since the one you said should be sufficient doesn't seem to compress it fully. > never use \pdf* commands directly .. way too low level and use the oher > command only for fast tests (i use it in small test files) Understood. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com [-- Attachment #1.2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 198 bytes --] [-- Attachment #2: Type: text/plain, Size: 485 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Clarification on methods of toggling maximum compression 2012-08-10 23:26 ` Kip Warner @ 2012-08-11 10:02 ` Hans Hagen 2012-08-11 18:32 ` Kip Warner 0 siblings, 1 reply; 7+ messages in thread From: Hans Hagen @ 2012-08-11 10:02 UTC (permalink / raw) To: Kip Warner; +Cc: mailing list for ConTeXt users On 11-8-2012 01:26, Kip Warner wrote: > On Sat, 2012-08-11 at 01:05 +0200, Hans Hagen wrote: >> hm, suspicious > > Really? It's over 300 pages in length and contains plenty of vector > graphics (more text). But actually that 70 MB seems an overestimate and > I must have been looking at something else. > >> yes, that's best because as soon as that command is called, the set >> value of 'level' is used, no matter what other values has been set > > Here is the result of some experimentation: > > 23,396,929 Bytes using just \setupbackend[level=9]. > > 21,945,243 Bytes using the aforementioned, \pdfcompresslevel9, and > \maximumpdfcompression. > > 23,396,827 Bytes using none of those three. > > So I guess I'm still not sure which one to use since the one you said > should be sufficient doesn't seem to compress it fully. > >> never use \pdf* commands directly .. way too low level and use the oher >> command only for fast tests (i use it in small test files) I made \setupbackend[level=9] listen to that setting also if no 'format' is set. Also, in the report at the end of a run, the compress levels are reported so that you can check it. ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Clarification on methods of toggling maximum compression 2012-08-11 10:02 ` Hans Hagen @ 2012-08-11 18:32 ` Kip Warner 0 siblings, 0 replies; 7+ messages in thread From: Kip Warner @ 2012-08-11 18:32 UTC (permalink / raw) To: Hans Hagen; +Cc: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 428 bytes --] On Sat, 2012-08-11 at 12:02 +0200, Hans Hagen wrote: > I made > > \setupbackend[level=9] > > listen to that setting also if no 'format' is set. Also, in the report > at the end of a run, the compress levels are reported so that you can > check it. Thanks Hans. I'll use that when I pull the next nightly. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com [-- Attachment #1.2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 198 bytes --] [-- Attachment #2: Type: text/plain, Size: 485 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-08-11 18:32 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-08-10 22:19 Clarification on methods of toggling maximum compression Kip Warner 2012-08-10 22:57 ` Hans Hagen 2012-08-10 23:00 ` Kip Warner 2012-08-10 23:05 ` Hans Hagen 2012-08-10 23:26 ` Kip Warner 2012-08-11 10:02 ` Hans Hagen 2012-08-11 18:32 ` Kip Warner
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).