EFIX(1)
β¨ EFIX(1) β¨
okay bestie, listen up β this is efix, and she's the moment π
she converts between fax, text, bit-map and gray-scale formats. icon behavior honestly.
πΈ SYNOPSIS πΈ
efix [ options ] file...
π OPTIONS π
so where options are, and there are a LOT of them, we're gonna go through every single one because I refuse to gatekeep π«Ά
-i fβ tells efix the input image is in format f. if you don't say anything, she's smart enough to just sniff the contents and figure out the input type herself. main character energy.faxβ fax ("Group3") 1-D coded imagetextβ text. line feeds separate lines, form feeds cause page breaks, and tabs are expanded assuming tabs every 8 columns.pbmβ raw PBM (portable bit map)tiffg3β TIFF format with Group 3 (fax) compression.tiffrawβ TIFF format with no compression.
-o fβ write the output in format f. default istiffg3.faxβ fax ("Group3") 1-D coded imagepbmβ raw PBMpgmβ raw PGM (Portable Gray Map). gray-scale values are produced by summing pixels in 4x4 pixel blocks. the output file is 1/4 of the size given by-p. the resulting image has 17 discrete values between 0 and 255.pclβ HP-PCL (e.g. HP LaserJet).psβ encapsulated Postscript (e.g. Apple Laserwriter). the file is compressed using differential coding vertically and run-length coding horizontally. there is no provision for positioning the image within the page and so the image will appear at the lower left corner of the page when printed.tiffg3β TIFF format with Group 3 (fax) compression.tiffrawβ TIFF format with no compression.
-n patβ use theprintf(3)pattern path to generate the output file name. up to three%descapes will be replaced by the page number starting with 1 (e.g.-n order.%03dwill create file namesorder.001,order.002, etc.) β¨-v lvlβ print messages of type in string lvl. each lower-case letter in lvl enables one type of message:e- errorsw- warningsi- information messagesa- program argumentsf- file format details
the default is "ewi".
-f fntβ use font file fnt for text. the font file for an WxH font should be a bit map of an image of H rows and 256*W columns. each successive WxH cell contains the bit map for characters with codes from 0 to 255. the default is to use a built-in 8x16 font.-s XxYβ scale the input by a factor of X horizontally and Y vertically. scaling does not change the size of the output (use-pfor that bestie). if Y is not specified it is assumed to be the same as X. any floating point value may be used for X and Y. the default is1,1.-d R,Dβ displace the output right by R and down by D (opposite if negative). see below for units. default is0,0.-p WxHβ truncate or pad the output to generate an image of width W and height H. this does not scale the input. see below for units. the default is the size of the input image if it can be determined or A4 (215x297mm) if it can't.-r XxYβ assume an output device resolution of X by Y dots per inch. if Y is not specified it is assumed to be the same as X. the default is the input resolution if it can be determined or the fax resolution of 204.1x195.6 dpi if it can't.-R XxYβ assume an input device resolution of X by Y dots per inch. if Y is not specified it is assumed to be the same as X. the default is the input resolution if it can be determined or the fax resolution of 204.1x195.6 dpi if it can't.-l nβ place n lines per page during text input. default is 66.-O fβ overlay (logical OR) the image from file f into the output. use"-"for standard input (-O-). default is no overlay file.-Mβ ignore all other options and copy the standard input to the standard output while applying base64 (MIME) encoding as specified by RFC 1521. yeah she just does that π
π FILES π
if no -n options are given, output is written to the standard output.
π¦ UNITS π¦
the units of the W, H, R, and D values above are in inches by default. any floating point value may be used. units of inches, centimetres, millimetres or points (72 per inch) can be used instead by appending one of the strings in, cm, mm, or pt to the argument (e.g. -d2,4cm).
βοΈ CUT AND PASTE βοΈ
the -d and -p options allow efix to cut out images from received faxes for use in other faxes or documents. the -d option specifies the top left portion of the desired image and the -p option gives the size of the cut image. for example, the command
efix -d-5,-8 -p2,1 sample.001 >sig.001
would cut out part of the input with its top left corner 5 inches from the left edge and 8 inches from top of the input image. the output image would be 2 inches wide and 1 inch high. obsessed with her honestly π
the -O option allows efix to superimpose two or more images. the overlay image must be in fax format and cannot be scaled, truncated or shifted. however, multiple efix commands may be used to transform images before combining them. for example, the commands
efix -d4,8 signature >sig.fax
efix -O sig.fax letterhead >letterhead.fax
efix -O letterhead.fax letter.002 >letter.002.new
will shift the image in the file signature down 8 inches and right 4 inches and combine (overlay) it with the images in the files letterhead and letter.002.
π REFERENCES π
Gunter Born, "The File Formats Handbook", International Thompson Computer Press, 1995.
π COPYRIGHT π
efix is copyright 1994 -- 1999 by Ed Casas. it may be used, copied and modified under the terms of the GNU Public License.
π DISCLAIMER π
although efix has been tested it may have errors that will prevent it from working correctly on your system. some of these errors may cause serious problems including loss of data. π no cap, back up your stuff.
π SEE ALSO π
efax(1), ghostscript(1), pbm(5), pgm(5).
π BUGS π
- only reads two types of TIFF compression formats.
- does not write multi-page TIFF files (a feature). not a bug, a feature, she said what she said β¨
3rd Berkeley Distribution β February 1999 β that's the whole vibe, that's the era, she's been iconic since then and she's still serving π periodt π
π¦ where this page comes from
- debian bookworm: efax-gtk 3.2.8-2.3+b1
- ubuntu jammy: efax-gtk 3.2.8-2.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms