TPDFVisualPixelFormat

Data types, document comparison, rendering

Description

TPDFVisualPixelFormat describes how the bytes in TPDFVisualBitmap map to colour channels.

Channels are straight, not premultiplied, and alpha is present only in the RGBA and BGRA layouts.

Syntax

Delphi

TPDFVisualPixelFormat = (vpfRGB, vpfRGBA, vpfBGR, vpfBGRA);

Values

vpfRGBThree bytes per pixel in red, green, blue order
vpfRGBAFour bytes per pixel in red, green, blue, alpha order
vpfBGRThree bytes per pixel in blue, green, red order
vpfBGRAFour bytes per pixel in blue, green, red, alpha order

See also

TPDFVisualBitmap, TPDFVisualCompareResult, CompareRenderedPagesWith