From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71884 Path: news.gmane.org!not-for-mail From: John Devereux Newsgroups: gmane.comp.tex.context Subject: Image compression/resizing in PDFs Date: Fri, 21 Oct 2011 10:54:48 +0100 Message-ID: <87aa8uk6tz.fsf@devereux.me.uk> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1319190904 31527 80.91.229.12 (21 Oct 2011 09:55:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 21 Oct 2011 09:55:04 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 21 11:55:00 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RHBoY-0006cW-Ab for gctc-ntg-context-518@m.gmane.org; Fri, 21 Oct 2011 11:54:58 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 26C75CB09E; Fri, 21 Oct 2011 11:54:58 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id h8fDtcW5exF9; Fri, 21 Oct 2011 11:54:55 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 82F0BCB093; Fri, 21 Oct 2011 11:54:55 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CF77BCB093 for ; Fri, 21 Oct 2011 11:54:53 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id JTg9HCzk18GY for ; Fri, 21 Oct 2011 11:54:52 +0200 (CEST) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id 0EB34CB08F for ; Fri, 21 Oct 2011 11:54:52 +0200 (CEST) Original-Received: from devereux.me.uk (devereux.me.uk [217.169.15.178]) by filter2-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p9L9sotP032125 for ; Fri, 21 Oct 2011 11:54:51 +0200 Original-Received: from devereux.me.uk ([217.169.15.178] ident=jd) by devereux.me.uk with esmtp (Exim 4.72) (envelope-from ) id 1RHBoO-0000RJ-S2 for ntg-context@ntg.nl; Fri, 21 Oct 2011 10:54:48 +0100 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=217.169.15.178; country=GB; region=E6; city=Tewkesbury; latitude=52.0000; longitude=-2.1500; http://maps.google.com/maps?q=52.0000,-2.1500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0aFLlSPhv - 36136b893941 - 20111021 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:71884 Archived-At: Hi all, Is there a way to have context automatically compress or resample included images to a given output resolution? I have not been following recent developments... I can obviously "pre-reduce" all images to the desired dpi. But: 1) This is a bit of work (and hard to get non-technical people to do) 2) In 5 years time we might want the images to be higher resolution and not be as concerned about PDF size. But the information will be lost (or be elsewhere). So a command line or document setting would be ideal, is there such a thing? \setpdfimageresolution[300dpi]. Thanks, -- John Devereux ___________________________________________________________________________________ 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 ___________________________________________________________________________________