ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Huge PDFs
Date: Thu, 29 Dec 2011 14:32:13 +0100	[thread overview]
Message-ID: <CAG5iGsBiS4X_-B0cc-p=B-0UkUFgdQbGPk+g90NvWFDSiiYQbw@mail.gmail.com> (raw)
In-Reply-To: <4EFC68CC.8050409@wxs.nl>

On Thu, Dec 29, 2011 at 2:19 PM, Hans Hagen <pragma@wxs.nl> wrote:
> On 29-12-2011 13:45, luigi scarso wrote:
>>
>> On Thu, Dec 29, 2011 at 12:16 PM, Jan Heinen<JaHeinen@gmx.de>  wrote:
>>>
>>> Hello,
>>>
>>> lots of my images are huge 200x250mm. I reduce their size with:
>>> \externalfigure[cow][width=20mm, heigth=25mm]
>>>
>>> After generating the PDF, the pdf is very huge.
>>>
>>> 1. Can't Context put the reduced image into the PDF?
>>> 2. How can I generate one PDF version for printing (300dpi) and one for
>>> the
>>> screen (72dpi)?
>>>
>>> I am using Context mk-IV.
>>
>> no, you need something like ghostscript.
>> In this case (if you have not problems of space and time) it's better
>> to transform the pdf in ps with
>>  pdftops yourfile.pdf
>> and then apply ghostscript to the final ps (see the documentation
>> about ghostscript)
>
>
> ghostscript can do that directly with the pdf (no need to go through ps)
>
> (also see:
> http://article.gmane.org/gmane.comp.tex.context/71919/match=lowres)
yes, but latest ghostscript (ver. 9)  sometimes fail when used
directly with pdf.
pdf -> pdftops ->ps ->ghostscript ->pdf seems to be more robust and
gives better results
(although space and time consuming).



-- 
luigi
___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2011-12-29 13:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-29 11:16 Jan Heinen
2011-12-29 12:45 ` luigi scarso
2011-12-29 13:19   ` Hans Hagen
2011-12-29 13:32     ` luigi scarso [this message]
2011-12-29 16:34       ` Jan Heinen
2011-12-29 16:57         ` luigi scarso
2011-12-29 18:44           ` Jan Heinen
2011-12-29 18:47             ` Hans Hagen
2011-12-29 14:46 Jan Heinen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAG5iGsBiS4X_-B0cc-p=B-0UkUFgdQbGPk+g90NvWFDSiiYQbw@mail.gmail.com' \
    --to=luigi.scarso@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).