Autofit Algorithm - Lexmark ImageQuick User Manual

Lexmark imagequick: user guide
Table of Contents

Advertisement

AutoFit Algorithm

The AutoFit function attempts to select an optimal paper size and
orientation for a given image. This pseudocode describes the
algorithm used:
1
Set AutoFit option On
2
Set IMAGE Scaling to Best Fit.
3
Select the best available paper size and orientation setting for
the image.
a
Calculate physical height and width of image using the
image resolution. For image formats that don't contain
resolution information (such as JPEG), 96 dpi is used.
b
Get printable area dimensions for all eligible paper sources.
c
Select the orientation and paper size among the eligible
sources that gives the minimum value for the following
measurement:
delta = abs (printable area height - physical
image height) + abs (printable area width -
physical image width)
When checking different orientations, the physical image height and
width values are swapped.
If an image fits on a page in either orientation, the delta values are
equal. In that case, the panel setting is used. If the image is larger
than the printable area in either orientation, the setting that best
matches the image aspect ratio is chosen. Changes to orientation
use the following rules:
Default setting
Portrait
Landscape
Reverse portrait
Reverse landscape
New setting
Landscape
Portrait
Reverse landscape
Reverse portrait
Operator panel function
31

Advertisement

Table of Contents
loading

Table of Contents