PICTools Programmer's Reference
Scale

Magnifies or shrinks an image. Each direction (horizontal and vertical) can be adjusted independently. This operation works on all color depths supported by the opcode.

 

PegScaleBefore  → (Horz 2.5, Vert 1.0)  PegScaleAfter1

PegScaleBefore  → (Horz 0.8, Vert 1.25)  PegScaleAfter2

The uncompressed image to be processed must reside in the Get Queue prior to REQ_EXEC. Typically, the image will be fully contained in the Get Queue, but that is not a requirement. The output image will be placed into the Put Queue during REQ_EXEC.

Padding pixels present at the end of each line will be modified by this operation.

In addition to placing an output image into the Put Queue, this operation stores some output information into the PIC_PARM structure in the following locations.

 

 


©2022. Accusoft Corporation. All Rights Reserved.

Send Feedback