Graphics
Bar and QR codes
- OBJECT FUNCTION CreateCode128BBarcode(STRING intext, INTEGER fontsize)
- OBJECT FUNCTION CreateQRCode(STRING intext, RECORD options)
Create a QR code
- STRING FUNCTION GetCode128BBarcodeText(STRING intext)
- OBJECTTYPE QRCode
Low-level QR code generator
Canvas and paths
- CONSTANT INTEGER ColorBlack
Fully opaque black
- CONSTANT INTEGER ColorBlackTransparent
Transparent (with black RGB channels)
- CONSTANT INTEGER ColorWhite
Fully opaque white
- CONSTANT INTEGER ColorWhiteTransparent
Transparent (with white RGB channels)
- OBJECT FUNCTION Create2DPath()
Create a new 2D path
- OBJECT FUNCTION CreateCanvasFromBlob(BLOB infile)
Creates a canvas from an existing image (eg a GIF, JPEG or a PNG image)
- OBJECT FUNCTION CreateCanvasFromRawBlob(BLOB infile, RECORD inputformat)
Create a canvas from raw image data
- OBJECT FUNCTION CreateEmptyCanvas(INTEGER width, INTEGER height, INTEGER initialcolor)
Create a new canvas
- OBJECT FUNCTION CreateResizedCanvasFromBlob(BLOB infile, RECORD method)
Creates a canvas from an image blob, and resizes it immediately
- OBJECT FUNCTION CreateTextRenderer()
Create a new text renderer
- RECORD FUNCTION ExplainImageProcessing(RECORD scannedblob, RECORD method)
Explain how this image will be processed
- RECORD FUNCTION GetImageResizeInstruction(INTEGER width, INTEGER height, STRING mimetype, RECORD method)