Julian Rogan From: Julian Rogan [Julian.Rogan@Unilever.com] Sent: 05 April 2000 10:23 To: tru64-unix-managers@ornl.gov Subject: SUMMARY: tif to postscript conversion And the winner is: Jan Vandenberg and Matt White for: "You might try the tiff2ps program which comes with the libtiff package, found at http://www.libtiff.org " It's unclear to me whether it effectively handles multi-page tiff files, but it looks like it might. Excerpts from the manpage: ... -a Generate output for all IFDs (pages) in the input file. ... EXAMPLES The following generates PostScript Level II for all pages of a facsimile: tiff2ps -a2 fax.tif | lpr Note also that if you have version 2.6.1 or newer of Ghostscript then you can efficiently preview facsimile generated with the above command. To generate Encapsulated PostScript for a the image at directory 2 of an image use: tiff2ps -d 1 foo.tif (notice that directories are numbered starting at zero.) Actually it was the only one I tried and it installed very easily (./configure,make and make install ) Other people suggested: xv ImageMagick Gostscript I did not try any of them as the tiff2ps seemed the easiest. Jim Dennis: GS (ghostscript) will do this. Also, (if you are looking for a non-freeware solution) I do not know if it runs on Tru64 or not, but Compaq's CDA Converter Library for OpenVMS does this too. Here is an excerpt from the OpenVMS help files... CONVERT The CONVERT commands perform the following functions: o Converts a revisable format file to another revisable or final form file from the DCL command line. (see /DOCUMENT). o Copy records from one file to another, changing the organization and format of the input file to that of the output file (see File). o Make empty buckets in Prologue 3 indexed files available so that new records can be written in them (see /RECLAIM). Additional information available: /DOCUMENT file /RECLAIM /DOCUMENT Converts documents from one format to another for the purpose of sharing information among different applications. Specify the input file name and format and the output file name and format as shown below. The default input and output file format is DDIF (Digital Document Interchange Format). DDIF is a standard format for the storage and interchange of compound documents, which can include text, graphics, and images. Digital's CDA Converter Library, a layered product that offers conversion among other popular file formats, is separately installed and documented. If you have the CDA Converter Library Version 2.2 or later installed on your system, see HELP CDA_ Converters for more information. An /OPTIONS qualifier specifies a file containing options that are applied to the input and output file to ensure that minimal changes in format and content occur during the conversion. A /MESSAGE_FILE qualifier creates a file to which informational and error messages are logged during the conversion. NOTE The DEC CDA Base Services for OpenVMS Decwindows Motif or later must be installed in order to use the /MESSAGE_FILE qualifier and new versions of the DEC CDA Base Services converters. Format CONVERT/DOCUMENT input-filespec/FORMAT=input-format - output-filespec/FORMAT=output-format Additional information available: Parameters Qualifiers /FORMAT /OPTIONS /MESSAGE_FILE DEC_CDA_Base_Service_Converters Creating_the_Options_File Valid_Conversions CDA$_Facility_Messages /FORMAT /FORMAT=format-name Specifies the encoding format of the input or output file. The default input and output format is DDIF. Input converters bundled with the DEC CDA Base Services and the default file extensions for the file formats they support are as follows: Input Format File Extension DDIF .DDIF DTIF .DTIF TEXT .TXT Output converters bundled with the DEC CDA Base Services for OpenVMS DECwindows Motif and the default file extensions for the file formats they support are as follows: Output Format File Extension DDIF .DDIF DTIF .DTIF TEXT .TXT PS .PS ANALYSIS .CDA$ANALYSIS /OPTIONS /OPTIONS=options-filename Specifies a file that contains processing option for both input and output. An options file is a text file with a default file extension of .CDA$OPTIONS on OpenVMS systems. An options file is not required. Default processing options are applied automatically when you convert a file. You may, however, require settings other than the default. Processing options can help ensure minimal changes when your input file is converted to a different output file format. /MESSAGE_FILE /MESSAGE_FILE=filespec /NOMESSAGE_FILE (default) Turns on message logging for document conversion. Messages output by the input and output converters are directed to the file specified with filespec. If filespec is not specified, messages are output to SYS$ERROR. The default is /NOMESSAGE_FILE. Jim Belonis: really like the shareware 'xv' as a graphic file viewer and converter. It will convert .tif to .ps and runs on most Unixes. I don't know if I ever tried it on Tru64. But it worked on earlier Digital Unix.