Linux Commands Examples

A great documentation place for Linux commands

epsffit

fit encapsulated PostScript file (EPSF) into constrained size


see also : psbook - psselect - pstops - psnup - psresize - psmerge - fixscribeps - getafm - fixdlsrps - fixfmps - fixpsditps - fixpspps - fixtpps - fixwfwps - fixwpps - fixwwps - extractres - includeres - showchar

Synopsis

epsffit [ -c ] [ -r ] [ -a ] [ -m ] [ -s ] llx lly urx ury [ infile [ outfile ] ]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0
source
            
sed s/"$bbox"/"%"/ $out | sed s/"%%BoundingBox: (atend)"/"$bbox"/ > t1.$$
epsffit -c -s 10 10 600 780 t1.$$ $out
epstopdf $out
rm t1.$$
#rm $out # remove eps file

description

Epsffit fits an EPSF file (encapsulated PostScript) to a given bounding box. The coordinates of the box are given by (llx,lly) for the lower left, and (urx,ury) for the upper right, in PostScript units (points).

If no input or output files are specified, epsffit read from the standard input and writes to the standard output.

options

-c

Center the image in the given bounding box.

-r

Rotate the image by 90 degrees counter-clockwise.

-a

Adjust the aspect ratio to fit the bounding box. The default is to preserve the aspect ratio.

-m

Rotates the image to maximise the size if it would fit the specified bounding box better.

-s

Add a showpage at the end of the file to force the image to print.

trademarks

PostScript is a trademark of Adobe Systems Incorporated.


see also

psbook , psselect , pstops , epsffit, psnup , psresize , psmerge , fixscribeps , getafm , fixdlsrps , fixfmps , fixpsditps , fixpspps , fixtpps , fixwfwps , fixwpps , fixwwps , extractres , includeres , showchar


author

Copyright (C) Angus J. C. Duggan 1991-1995

How can this site be more helpful to YOU ?


give  feedback