From owner-freebsd-questions@FreeBSD.ORG Fri Apr 17 05:26:41 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88EC0106566B for ; Fri, 17 Apr 2009 05:26:41 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr17.xs4all.nl (smtp-vbr17.xs4all.nl [194.109.24.37]) by mx1.freebsd.org (Postfix) with ESMTP id 1EDFC8FC0C for ; Fri, 17 Apr 2009 05:26:40 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr17.xs4all.nl (8.13.8/8.13.8) with ESMTP id n3H5QdVG037750; Fri, 17 Apr 2009 07:26:39 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 4035EBABD; Fri, 17 Apr 2009 07:26:39 +0200 (CEST) Date: Fri, 17 Apr 2009 07:26:39 +0200 From: Roland Smith To: Modulok Message-ID: <20090417052639.GA49635@slackbox.xs4all.nl> References: <64c038660904161950i623bbaf2q47ebf7ccc8dd97eb@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k+w/mQv8wyuph6w0" Content-Disposition: inline In-Reply-To: <64c038660904161950i623bbaf2q47ebf7ccc8dd97eb@mail.gmail.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.19 (2009-01-05) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: questions@freebsd.org 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 05:26:42 -0000 --k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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.) >=20 > 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. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --k+w/mQv8wyuph6w0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAknoEw8ACgkQEnfvsMMhpyWe+wCdFc3SCcXpD7OdzIlL0ZspYJWj EPYAnjZFlMH1KN9bY9JGlul8Fy1CcaPw =q8wh -----END PGP SIGNATURE----- --k+w/mQv8wyuph6w0--