Properties · Methods · Events · Demos · Examples
Declaration
TImageEnMIO = class(TComponent);
Description
TImageEnMIO provides input/output support to ImageEn when working with images containing multiple frames (TIFF, GIF, DICOM, AVI, etc):
◼Loading and
saving multi-frame images
◼Access to
image properties and meta-data
◼Acquisition of multiple images from cameras and scanners
◼Printing of thumbnails and images
ImageEn supports loading and saving multiple frames from GIF, TIFF, AVI, DCX, DICOM and ICO formats. It can also load from CUR and ZIP formats, and save to PDF and PS format (loading of PDF is supported if a
relevant plug-in is installed).
Generally you will not add a TImageEnMIO component directly to your project. It is accessed via the following methods:
ImageEnMView1.MIO.LoadFromFile( 'C:\MyImage.tiff' );
ImageEnMView1.MIO.DoPrintPreviewDialog();
2. Using the MIO helper property of a TIEMultiBitmap
// Scan images and save to a file
mbmp := TIEMultiBitmap.Create();
if mbmp.MIO.Acquire() then
mbmp.MIO.SaveToFile( 'D:\scans.tiff' );
mbmp.Free();
// Scan images and save to a file
mbmp := TIEMultiBitmap.Create();
mio := TImageEnMIO.CreateFromIEMBitmap( mbmp );
if mio.Acquire() then
mio.SaveToFile( 'D:\scans.tiff' );
mio.Free();
mbmp.Free();
Notes
◼Ensure you do not call any TImageEnMIO methods before it is actually attached to an image container (
TImageEnMView,
TIEMultiBitmap, etc)
◼See also
TImageEnIO, which works with single-frame images, such as JPEG, BMP, etc.
Demo | Description | Demo Project Folder | Compiled Demo |
Contact Sheets | Output thumbnail pages to file, bitmap or printer | Multi\ContactSheets\ContactSheets.dpr | |
Acquire from Any Source | Acquisition from any source: Twain, WIA and connected cameras and cards | ImageAcquisition\AllAcquire\AllAcquire.dpr | |
ImageEnMView Actions | Multiple Image and thumbnail application built using only ImageEnMView actions | Actions\Actions_MView\MViewActions.dpr | |
All Actions | Demo showing all ImageEn actions (400+) available to rapidly build applications | Actions\AllActions\AllActions.dpr | |
// Prompt the user to print thumbnail sheets
ImageEnMView1.MIO.DoPrintPreviewDialog();
// Prompt the user to save thumbnail/contact sheets
ImageEnMView1.MIO.DoSavePreviewDialog();
Connected Component
Generic Input/Output
Dialogs
Image Acquisition (Twain/WIA)
Printing
Contact Sheets
Format-Specific Methods
Adobe PDF
AVI Videos
Cursor Resources (CUR)
DICOM Medical Imaging Format
DCX (Multipage PCX)
GIF
Icons (ICO)
Media Files (DirectShow)
PostScript (PS)
TIFF
ZIP