PDFium Delphi Component Docs

GrayscalePdfBitmap 프로시저

유닛: PDFium
렌더링된 32비트 TBitmap 을 휘도 기반 그레이스케일로 제자리 변환합니다

Syntax

procedure GrayscalePdfBitmap(Bitmap: TBitmap);

Parameters

BitmapTBitmap

Description

헬퍼가 pf32bit를 강제하고 ScanLine 픽셀을 곧바로 갱신하므로, RenderPage나 ToBitmap 다음에 별도 중간 버퍼 없이 바로 적용됩니다

독자가 저시력 색상 모드를 필요로 할 때 렌더링된 비트맵을 화면에 보여 주거나 저장·내보내기 전에 이 헬퍼들을 사용하세요

Remarks

Example

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

See Also

RenderPage, RenderPage