ImageEn, unit iewic

ImageEn WIC Support


WIC (Windows Imaging Component) is a Windows API that provides access to fast Windows methods for loading and saving images.
WIC is used by ImageEn to support HDP, DDS, HEIF/HEIC, AVIF and WebP. It can optionally be used to load other formats such as JPEG, PNG, GIF, etc.
To support some WIC formats (such as HEIF, AVIF and WebP) you will need to install a codec from the Microsoft Store.

Notes
Some WIC formats, such as DDS and HEIF, can contain multiple images. For multi-frame images, specify which image to load using ImageIndex or use a TImageEnMView to load and display all images
WIC can optionally be used for loading JPEG, PNG, JPEG 2000 and Camera Raw images
Saving is supported for HEIF, DDS and HDP. Saving is NOT supported for WebP. Other formats will depend on the codec
Specify the quality when saving HDP (optionally making it lossless)
You can optionally use the TIEWICReader and TIEWICWriter classes directly
View all WIC Methods and Properties

Demos
\Demos\InputOutput\ImagingEngines\ImagingEngines.dpr
\Demos\InputOutput\IEViewPerformance\Performance.dpr


See Also

WIC Formats
IEWICFormatSupported
IEWICEnumerateCodecs
LoadFromFileWIC
LoadFromStreamWIC
SaveToFileWIC
SaveToStreamWIC
TIEBitmap.WicFastLoading
ImageEnIO.WicFastLoading
TImageEnMView.WicFastLoading
WICFileTypes