ImageEn, unit iexBitmaps

TIEICC.InputColorSpace

TIEICC.InputColorSpace


Declaration

property InputColorSpace: AnsiString;


Description

Contains the signature of the data color space used.

Allowed signatures:
Color space Signature
XYZData 'XYZ '
labData 'Lab '
luvData 'Luv '
YCbCrData 'YCbr'
YxyData 'Yxy '
rgbData 'RGB '
grayData 'GRAY'
hsvData 'HSV '
hlsData 'HLS '
cmykData 'CMYK'
cmyData 'CMY '
2colorData '2CLR'
3colorData (if not listed above) '3CLR'
4colorData (if not listed above) '4CLR'
5colorData '5CLR'
6colorData '6CLR'
7colorData '7CLR'
8colorData '8CLR'
9colorData '9CLR'
10colorData 'ACLR'
11colorData 'BCLR'
12colorData 'CCLR'
13colorData 'DCLR'
14colorData 'ECLR'
15colorData 'FCLR'


Examples

if ierICC in ImageEnView1.IO.Params.ContainsInfo() then
  ShowMessage( 'ICC Profile: ' + ImageEnView1.IO.Params.InputICCProfile.InputColorSpace )
else
  ShowMessage('ICC Profile: None');


// Show ICC properties in a StringGrid
StringGrid1.Cells[0, 0] := 'Property';
StringGrid1.Cells[1, 0] := 'Value';
StringGrid1.Cells[0, 1] := 'Copyright';
StringGrid1.Cells[1, 1] := String( ImageEnIO1.Params.InputICCProfile.Copyright );
StringGrid1.Cells[0, 2] := 'Description';
StringGrid1.Cells[1, 2] := String( ImageEnIO1.Params.InputICCProfile.Description );
StringGrid1.Cells[0, 3] := 'InputColorSpace';
StringGrid1.Cells[1, 3] := String( ImageEnIO1.Params.InputICCProfile.InputColorSpace );
StringGrid1.Cells[0, 4] := 'OutputColorSpace';
StringGrid1.Cells[1, 4] := String( ImageEnIO1.Params.InputICCProfile.OutputColorSpace );