Declaration
TIOParams = class;
Description
Provides access to the properties and meta-data of an image or video file, such as compression type, EXIF, text comments, bits per sample, samples per pixel, etc.
The properties for this class are set when
loading an image or can be retrieved (without loading of the image) using
LoadFromFile (excluding save-only formats, such as PDF, PS, etc).
You can modify these properties before saving your image (naturally this is only relevant to formats which ImageEn can save, which excludes EMF, WMF, CUR, etc).
// Convert a PNG to JPEG at 90% quality
ImageEnView1.IO.LoadFromFile('D:\image.png');
ImageEnView1.IO.Params.JPEG_Quality := 90;
ImageEnView1.IO.SaveToFile('D:\output.jpg');
// Save a TIFF with CMYK
ImageEnView1.IO.LoadFromFile('D:\image.tif');
ImageEnView1.IO.Params.TIFF_PhotometInterpret := ioTIFF_CMYK;
ImageEnView1.IO.SaveToFile('D:\image-cmyk.tif');
// Set color-mapped 256 colors
ImageEnView1.IO.Params.BitsPerSample := 8;
ImageEnView1.IO.Params.SamplesPerPixel := 1;
ImageEnView1.IO.Params.TIFF_Compression := ioTIFF_G4FAX;
ImageEnView1.IO.Params.BitsPerSample := 1;
ImageEnView1.IO.Params.SamplesPerPixel := 1;
ImageEnView1.IO.SaveToFile('D:\output.tif');
ImageEnView1.IO.Params.TIFF_Compression := ioTIFF_JPEG;
ImageEnView1.IO.Params.TIFF_JPEGQuality := 85;
General Methods and Properties
GeneralLoading DirectivesProperty Storage HandlingMeta-Data Methods and Properties
General EXIF Tags (for JPEG, TIFF, PNG and RAW)Photographic EXIF Tags (for JPEG, TIFF, PNG and RAW)GPS EXIF Tags (for JPEG, TIFF, PNG and RAW)Windows EXIF Tags (for JPEG, TIFF, PNG and RAW)IPTC Tags (for JPEG and TIFF)Adobe XMP Info (for JPEG, TIFF, PNG and PSD)Format-Specific Properties
Adobe PDFAdobe PSDAVIBMPBmpRaw (not for camera Raw files)Camera Raw (Camera Digital Images)CursorsDicomGIFIconsIEN (ImageEn native image format with layers)JPEGJPEG 2000MediaFile (AVI, MPEG, WMV, etc)Heif, WebP and Microsoft HD Photos/JPEG XR (WDP/JXR/HDP)PNGPostScript (PS)Scalable Vector Graphics (SVG)Targa (TGA)TIFFWindows Images (such as HEIF/HEIC, DirectDraw Surface, etc)Other FormatsSee Also
◼TImageEnIO.Params◼TIEBitmap.Params◼TIEMultiBitmap.Params◼TImageEnMIO.Params