Declaration
procedure SaveToText(const FileName: WideString; ImageFormat: TIOFileType = ioUnknown; TextFormat: TIETextFormat = ietfASCIIArt); overload;
procedure SaveToText(Stream: TStream; ImageFormat: TIOFileType = ioUnknown; TextFormat: TIETextFormat = ietfASCIIArt); overload;
Description
Saves the current image in the specified text format.
Parameter | Description |
FileName | Output file name |
Stream | Output stream |
ImageFormat | Desired file format. If ioUnknown, then the current image format is used |
TextFormat | Output text format (See TIETextFormat) |
Note: To abort while saving set
Aborting to true
See Also:
LoadFromTextExample
ImageEnView1.IO.LoadFromFile('C:\input.jpg');
ImageEnView1.Proc.Resample(128, -1);
ImageEnView1.IO.SaveToText('D:\output.txt', ioUnknown, ietfASCIIArt);