ImageEn, unit iexBitmaps

TIOParams.EXIF_UserCommentCode

TIOParams.EXIF_UserCommentCode


Declaration

property EXIF_UserCommentCode: AnsiString;


Description

Specifies the character code (8 bytes) for the EXIF_UserComment property.

Allowed values:

Description

ImageEn Const Character Code Designation (8 bytes) References
IEExifUserCommentCode_Unicode Unicode #$55#$4E#$49#$43#$4F#$44#$45#$00 Unicode Standard
IEExifUserCommentCode_ASCII ASCII #$41#$53#$43#$49#$49#$00#$00#$00 ITU-T T.50 IA5
IEExifUserCommentCode_JIS JIS #$4A#$49#$53#$00#$00#$00#$00#$00 JIS X0208-1990
IEExifUserCommentCode_Undefined Undefined #$00#$00#$00#$00#$00#$00#$00#$00 Undefined

Note: All constants are defined in ImageEnIO.pas


Example

// Write a comment to file
ImageEnView1.IO.LoadFromFile('C:\input.jpg');
ImageEnView1.IO.Params.EXIF_UserComment := 'Hello World!';
ImageEnView1.IO.Params.EXIF_UserCommentCode := IEExifUserCommentCode_Unicode;
ImageEnView1.IO.Params.EXIF_HasEXIFData := true;
ImageEnView1.IO.SaveToFileTIFF('D:\test.tiff');