Editions
Related Functions
Example
The IN_Deskew function straightens the raster image on the active raster layer by the angle you specify, or by the deskew angle that the program estimates. It changes the actual raster data, not just the image display. The result is either placed in a new document window or overwrites the original, depending on the overwrite raster flag.
Syntax
int IN_Deskew( docwinID, angle, pNewDocwinID )
|
Input Parameters |
Values |
Meaning |
|
IN_DOCWIN docwinID |
0 | docwinID |
active | specific |
|
DOUBLE angle |
floating point between |
specific deskew angle in degrees. A positive angle deskews the image counter-clockwise. |
|
|
0 |
deskew automatically |
|
Meaning | ||
|
IN_DOCWIN_PTR pNewDocwinID |
pointer to the new document window identifier. See Remarks. | |
Remarks
If the overwrite raster flag is set to on, pNewDocwinID is the original docwinID. The value is NULL if the function fails.
Release information
Added to Imagenation for Windows in Release 4.00.
As of Release 5.1, also available in Imagenation for UNIX.
Also supported in Imagenation 3.3 for UNIX.
See also