FFFax2letter
doubles fax image vertical resolution

Prototype

Put the following prototypes in the prototype section of the application program header file:

void ( __stdcall *pfnFFFax2letter )( int, int, void*, void* );

Purpose

Usually fax are scanned at the vertical resolution of 98 lines per inch (that's the "standard resolution" mode; to get 196 lines per inch the fax should be trasmitted in the "fine resolution" mode). Horizontal resolution, on the contrary, is 196 dots per inch. For this reason when you display the image it appears wider than higher. To get a regular "letter size" image you should repeat each line twice, and this returns the images to its original proportions. This FFFax2letter routine enlarges the image by repeating fax lines twice.

Parameters
  • width: fax width in pixels
  • height: fax height in pixels
  • fax pointer: pointer to the memory area where the fax is allocated
  • image pointer: pointer to the memory area where the resulting image is to be returned

Return value

none.

See also