PDFium Delphi Component Docs

GrayscalePdfBitmap yordam

Unit: PDFium
İşlenmiş 32 bit TBitmap değerini yerinde lüminans gri tonlamasına dönüştürür

Syntax

procedure GrayscalePdfBitmap(Bitmap: TBitmap);

Parameters

BitmapTBitmap

Description

The helper forces pf32bit and updates ScanLine pixels directly, so it works after RenderPage or ToBitmap without an extra staging buffer

Okuyucu düşük görme (low-vision) renk moduna ihtiyaç duyduğunda, işlenen bitmap'i görüntülemeden, kaydetmeden veya dışa aktarmadan önce bu yardımcıları kullanın

Remarks

Example

Bitmap := Pdf1.RenderPage(0, 0, Width, Height);
GrayscalePdfBitmap(Bitmap);

See Also

RenderPage, RenderPage