From owner-freebsd-questions@FreeBSD.ORG Fri Apr 17 15:16:18 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E8E11065677 for ; Fri, 17 Apr 2009 15:16:18 +0000 (UTC) (envelope-from ltcddata@davids-website.com) Received: from mk-outboundfilter-4.mail.uk.tiscali.com (mk-outboundfilter-4.mail.uk.tiscali.com [212.74.114.32]) by mx1.freebsd.org (Postfix) with ESMTP id B76668FC0A for ; Fri, 17 Apr 2009 15:16:17 +0000 (UTC) (envelope-from ltcddata@davids-website.com) X-Trace: 204620780/mk-outboundfilter-2.mail.uk.tiscali.com/F2S/$F2S-NILDRAM-ACCEPTED/f2s-nildram-customers/62.3.226.102/None/ltcddata@davids-website.com X-SBRS: None X-RemoteIP: 62.3.226.102 X-IP-MAIL-FROM: ltcddata@davids-website.com X-SMTP-AUTH: X-MUA: Claws Mail 3.7.1 (GTK+ 2.16.1; i386-portbld-freebsd7.1) X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEALsz6Ek+A+Jm/2dsb2JhbADQQIN9Bg X-IronPort-AV: E=Sophos;i="4.40,205,1238972400"; d="scan'208";a="204620780" X-IP-Direction: IN Received: from davids-website.com (HELO www.davids-website.com) ([62.3.226.102]) by smtp.f2s.tiscali.co.uk with ESMTP; 17 Apr 2009 15:47:28 +0100 Received: from davids-website.com (farscape.davids-website.com [10.0.0.1]) by www.davids-website.com (Postfix) with ESMTP id 96E81C791 for ; Fri, 17 Apr 2009 15:47:25 +0100 (BST) Date: Fri, 17 Apr 2009 15:47:28 +0100 From: Ltcddata To: freebsd-questions@freebsd.org Message-ID: <20090417154728.1a6a9d24@davids-website.com> In-Reply-To: <20090417132208.GA31198@mech-cluster238.men.bris.ac.uk> References: <64c038660904161950i623bbaf2q47ebf7ccc8dd97eb@mail.gmail.com> <20090417052639.GA49635@slackbox.xs4all.nl> <20090417132208.GA31198@mech-cluster238.men.bris.ac.uk> Organization: FreeBsd X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.1; i386-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: PDF Authoring tool, suggestions? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Apr 2009 15:16:18 -0000 On Fri, 17 Apr 2009 14:22:08 +0100 Anton Shterenlikht wrote: > On Fri, Apr 17, 2009 at 07:26:39AM +0200, Roland Smith wrote: > > On Thu, Apr 16, 2009 at 08:50:44PM -0600, Modulok wrote: > > > I'm looking for recommendations for a BSD-friendly, PDF authoring > > > tool (Not a viewer, see below.) > > > > > > I have an image of a signature that I need to put into a PDF > > > document. I converted the original, un-signed PDF document to a > > > raster PNG, then used GIMP to place a photograph of the signature > > > where I need it. I then converted the PNG back to a PDF using > > > ImageMagick's 'convert' utility. The problem, is the PDF is now > > > HUGE. Both in dimensions as well as file size. It went from 28kb > > > to 292Kb. There must be a better way to do this. > > > > Convert the PNG to a JPEG file with the gimp, then use jpeg2ps from > > the graphics/jpeg2ps-a4 or graphics/jpeg2ps-letter port to convert > > it to PostScript. Finally, use epstopdf from print/teTeX-base or > > ps2pdf from print/ghostscript8 to convert to PDF. > > hard to get good quality because the result is likely to be a raster > image. Technically I'd do this with ImageMagick's composite - overlaps > one image over another, but the output pdf will be a poor quality > raster image and, yes, significantly bigger in size. > Don't know if I am missing the point here but why not use open office to create your pdf file with its export as PDF feature?