ExplainImageProcessing (open)
Explain how this image will be processed
Syntax
LOADLIB "wh::graphics/canvas.whlib";
RECORD FUNCTION ExplainImageProcessing(RECORD scannedblob, RECORD method)Parameters
RECORD scannedblobScanned blob
RECORD methodImage resize method
bgcolorBackground color (either STRING or INTEGER, will be transformed to INTEGER)
fixorientationSTRING formatOutput format One of "", "image/png", "image/jpeg", "image/gif".
grayscaleINTEGER hblurHorizontal blur (0-32767)
STRING methodMethod to use. One of "none", "fit", "fitcanvas", "scale", "scalecanvas", "fill", "crop".
noforceINTEGER qualityQuality (0-100)
INTEGER setheightINTEGER setwidthINTEGER vblurVertical blur (0-32767)
Return value
RECORDImpage processing instructions
BOOLEAN mirrorMirror the image horizontally, after applying rotation
INTEGER rotationRotation to apply to the image (0,90,180 or 270)