AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2003.07.24 09:50 "[patch] tiff2ps: set pagesize in ps output", by Balatoni Denes
2003.07.24 11:56 "Re: [patch] tiff2ps: set pagesize in ps output", by Tom Kacvinsky

2003.07.24 11:56 "Re: [patch] tiff2ps: set pagesize in ps output", by Tom Kacvinsky

The only problem I have with this patch is that if the PageSize is greater than any available media on a printer, the printer usually will not print it. The best best is to set the page size policy via:

  <<
    /Policies <<
      /PageSize 3
    >>
  >> setpagedevice

There are other options for the pagesize policy, but option 3 means scale the image to the nearest (in area) media and select that media. I guess maybe the policy value could be an option.

Also, you probably should add 'if (!generateEPSF && ( level2 || level3 ) )'. There

On 2003/07/24 11:50 +0200 Balatoni Denes <pnis@coder.hu> wrote:

A small patch against cvs libtiff so that tiff2ps -2p sets the pagesize in the postscript output. This enables ps2pdf to generate pdfs with correct pagesizes automatically.

If something doesn't look right please tell me!

bye
Denes

To subscribe or unsubscribe email tiff-request@olympiakos.com with subscribe or unsubscribe in the email body. Libtiff home page: http://www.libtiff.org