Re: PDF Authoring tool, suggestions?

2009-04-17 Thread Polytropon
On Fri, 17 Apr 2009 12:17:45 -0400, Michael Powell  
wrote:
> Ltcddata wrote:
> 
> > 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?
> 
> Unless something has changed very recently OpenOffice.org doesn't import 
> .pdf's that already exist, which the OP indicates he needs in order to edit 
> a pre-existing file.

I think it would pe possible to use LaTeX in this case, too. The
source PDF can be imported, but I think it needs to be converted
to ps or eps before. Then, the modification (add) can be done
with overlaying another image, and afterwards pdflatex (from the
teTeX package) can be used to create a PDF document again.

Anyway, while this is a possible way, it seems to be one of the
most over-complicated ones. :-)



-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: PDF Authoring tool, suggestions?

2009-04-17 Thread Ltcddata
On Fri, 17 Apr 2009 15:47:28 +0100
Ltcddata  wrote:

> 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?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: PDF Authoring tool, suggestions?

2009-04-17 Thread cpghost
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.)

Not a tool, but a python library:
  print/py-reportlab2

It's flexible enough to solve your image-embedding problem. ;-)

> Suggestions?
> -Modulok-

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: PDF Authoring tool, suggestions?

2009-04-17 Thread Chris Rees
2009/4/17 Ltcddata :
> 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?

I would imagine it would give a large output file; a stated goal of
the OP is to give a small output.

Chris



-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: PDF Authoring tool, suggestions?

2009-04-17 Thread Michael Powell
Ltcddata wrote:

> 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.
[snip]
> 
> 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?

Unless something has changed very recently OpenOffice.org doesn't import 
.pdf's that already exist, which the OP indicates he needs in order to edit 
a pre-existing file.

Inkscape, after a certain version number, has recently begun to be able to 
import .pdf. I used it only once to do something like what the OP described 
but have not used it extensively.

-Mike
  




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: PDF Authoring tool, suggestions?

2009-04-17 Thread Ltcddata
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?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: PDF Authoring tool, suggestions?

2009-04-17 Thread Anton Shterenlikht
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.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: PDF Authoring tool, suggestions?

2009-04-16 Thread Roland Smith
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.

Roland
-- 
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)


pgpUeS0cvY2rB.pgp
Description: PGP signature