GetJPEGFileICCProfileToFile
Page manipulation
Description
Extracts the APP2 ICC profile of a JPEG file
Syntax
Delphi
Function GetJPEGFileICCProfileToFile(Const FileName, ProfileFileName: WideString): Integer;Parameters
| FileName | Path to the JPEG |
|---|---|
| ProfileFileName | Target path for the extracted profile |
Return value
The profile size in bytes, 0 when the file carries no APP2 profile
Remarks
Multi-chunk profiles keep the first chunk; the 14-byte sequence header (signature, NUL, chunk number, chunk count) is stripped