Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ppmtopict(1) [plan9 man page]

ppmtopict(1)						      General Commands Manual						      ppmtopict(1)

NAME
ppmtopict - convert a portable pixmap into a Macintosh PICT file SYNOPSIS
ppmtopict [ppmfile] DESCRIPTION
Reads a portable pixmap as input. Produces a Macintosh PICT file as output. The generated file is only the data fork of a picture. You will need a program such as mcvert to generate a Macbinary or a BinHex file that contains the necessary information to identify the file as a PICT file to MacOS. Even though PICT supports 2 and 4 bits per pixel, ppmtopict always generates an 8 bits per pixel file. BUGS
The picture size field is only correct if the output is to a file since writing into this field requires seeking backwards on a file. How- ever the PICT documentation seems to suggest that this field is not critical anyway since it is only the lower 16 bits of the picture size. SEE ALSO
picttoppm(1), ppm(5), mcvert(1) AUTHOR
Copyright (C) 1990 by Ken Yap <ken@cs.rocester.edu>. 15 April 1990 ppmtopict(1)

Check Out this Related Man Page

RA_PICT(1)						      General Commands Manual							RA_PICT(1)

NAME
ra_pict - convert Radiance pictures to Macintosh PICT files SYNOPSIS
ra_pict [ -e +/- stops ] [ -v ] [ -g gamma ] [ infile [ outfile ]] DESCRIPTION
Ra_pict converts a Radiance picture, as produced by rpict (1) to a Macintosh PICT file. The picture will be a 24 bit PICT 2 picture, using a single bit map (DirectRect). OPTIONS
-g gamma This sets an explict gamma correction for the image. If it is not specified, the default value of 2.0 is used. -v Invokes verbose mode, and gives line on standard error giving the size of the picture and the gamma correction used. -e +/- stops Adjusts the exposure by stops. infile Specifies the file to read the picture from. If none is specified, it takes it from standard input. If standard input is used, then the picture is sent to standard output. outfile Specifies the file to send the PICT file to. If none is specified, it is sent to standard output. EXAMPLES
ra_pict mypict.hdr mypict.pict Will convert the Radiance picture mypict.hdr, giving the Macintosh PICT mypict.pict. ra_pict -g 2.2 mypict.hdr mypict.pict Will convert the file using a gamma of 2.2. SEE ALSO
rpict(1) BUGS
Does not yet do Macintosh PICT to Radiance PIC, as this PICT files are a lot more complex than just one bit map. This is left as an exer- cise for the reader :-) AUTHOR
Russell Street RADIANCE
11/15/93 RA_PICT(1)
Man Page

2 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Shopt -s histappend

What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file. # When the shell exits, append to the history file instead of overwriting it shopt -s histappend (3 Replies)
Discussion started by: cokedude
3 Replies

2. UNIX for Advanced & Expert Users

What's your most useful shell?

What's your most useful shell? /bin/sh /bin/csh /bin/ksh /bin/tcsh /bin/bash (249 Replies)
Discussion started by: zylwyz
249 Replies