THotPDF.RegisterICCProfile Method
Waliduje i rejestruje reużywalny profil ICC v2 albo v4 jako zasób przestrzeni kolorów ICCBased
Deklaracja
function RegisterICCProfile(const ProfileFileName: AnsiString; NumComponents : Integer; const AlternateCS : AnsiString= 'DeviceRGB'): AnsiString; overload;
Jednostka
HPDFDoc
Parametry
| Nazwa | Przeznaczenie |
|---|---|
ProfileFileName | Path to the ICC profile |
ProfileStream | ICC profile stream whose current position is preserved |
NumComponents | Expected profile component count, which must match the ICC data colour-space signature |
AlternateCS | Matching DeviceGray, DeviceRGB, or DeviceCMYK fallback; an empty value derives it from the profile |
Wartość zwracana
Zwraca reużywalną nazwę zasobu przestrzeni kolorów, np. CS1
Uwagi dotyczące użycia
- Nagłówek profilu, sygnatura
acsp, zadeklarowany rozmiar, wersja, PCS, rendering intent, tabela tagów, granice tagów i liczba komponentów są walidowane przed utworzeniem obiektu pośredniego - Przeciążenia bez
NumComponentswnioskują jeden, trzy albo cztery komponenty z danych profilu GRAY, RGB albo CMYK - Wywołanie: THotPDF.RegisterICCProfile
- Renderowanie stron załadowanego dokumentu transformuje poprawne kolory wektorowe
ICCBasedi surowe próbki obrazów do sRGB przez osadzony potok ICC, honoruje wszystkie rendering intentriPDF, nakłada skonfigurowaną kompensację black point i używa/Alternatetylko, gdy konwersja jest niedostępna - Użyj zwróconej nazwy z
THPDFPage.SetFillColorSpace,SetStrokeColorSpace,SetTransparencyGroupICCalboTHotPDF.RegisterDefaultColorSpace
Powiązane API
- THotPDF
- THPDFPage
- Spis treści
- Spis treści