Two basic image components: a non-visual and visual, provides an easy way to handle images in C++Builder.
Additional information supplied with an image, such as resolution, author, description etc. is access and modified directly on the image component properties.
The direct access to individual pixels or lines in the image allows for fast manipulations of the image data.
Palette entries or the entire palette on all color-indexed images are easily modified.
The way an image is displayed: centred, scaled, added background color etc. gives perfect control when presenting the image on screen.
You can effortlessly Copy, Duplicate, Paste and Crop images, and insert one image section into another image.
A dual image view component allows you to quickly implement dialogues showing pre- and post-processed images.
Image file formats
Images can be read and saved in several file formats:
- GIF, Graphics Interchange File
- BMP, Windows or OS/2 Bitmap
- DIB, Windows or OS/2 DIB
- JPEG, Joint Photographic Expert Group
- PBM, Portable Bitmap
- PGM, Portable Greymap
- PNG, Portable Network Graphics
- PPM, Portable Pixelmap
- SGI, Silicon Graphics Image
- TIF or TIFF, Tag Image File Format
- TGA, Truevision Targa
- PCX, Zsoft Paintbrush
- Exif, Exchangable image file format
The TIFF file format offers support for single as well as multiple images.
The different compression technologies that are utilised in the different file format are:
- CCITT Group 3
- CCITT Group 4
- DCT, Discrete Cosines Transformation
- LZ (Lemple-Ziv)
- Run length
Image files can be associated with your application enabling your uses to open images via the Explorer, Outlook etc.
Increase and decrease color resolution between B/W, palette color and True color images, i.e. 1, 4, 8, 24 and 32 bit.
Transform images between RGB image format and CIE, CMYK, HSV, RGB, YCbCr, YIQ (NTSC) and YUV (PAL) color formats.
Optimise or stretch the color intensities in images using the histogram facilities.
Threshold greyscale images to B/W based on either a specific intensity level, or by using statistical measurements on intensity or edge occurrence.
With the many predefined filters you can reduce noise, find edges and smooth or sharpen the images.
You can also apply your own filter matrix to produce the exact result you desire.
The dual filter kernel combines the result by taking the absolute, difference, RMS or summed value.
With the geometric transformation component you can scale, stretch, rotate, translate and shear/skew images. These transformations support: nearest neighbour, bilinear, bicubic, biquadratic and Hermite interpolation. Plus additional methods to Flip and Mirror images.
The Deskew method automatically corrects scanned documents, rotating these to their right orientation.
Thumbnails, file preview
In many cases it's preferable to quickly view all images on disk, to decide which image to open. The included thumbnail component allows you to do just that, showing standard information about each image in the hint window.
Print and preview
The print component produces quality hardcopies of images. Margins, scaling hereunder fit to page and positioning are simply set at either design or run time. The print pre-view show exactly how the image will be printed on the selected page format.
Morphology presents methods for changing the shape of objects or the interrelationship between parts of an object.
The basic methods are erode and dilate, which either removes or adds a layer of pixels to the objects.
Combining erosion and dilation provides the ability to open or separate touching feature and close or combine features. Additional the more advanced methods are outline, skeletonisation, thinning and shrinking.
Math & Logic
Logical and mathematical functions can be applied to find differences in images by subtraction, XORing, or to combine images by adding, Anding, blending (Alpha).
All methods takes advantage of the MMX technology, resulting in very high performance.
TWAIN, Image acquisition
TWAIN Toolkit for C++Builder included in this SDK provide VCL components to implement still image acquisition and document scanning into your application. The TWAIN component enables you to acquire images from any scanner, digital camera or other image acquisition device compatible with the TWAIN standard.
The support for Microsoft's Still Image system enables your application to become "push-button" aware. Press a button on the scanner and your application is running!
Data aware control
The data aware image control enables you to read and write images directly to a field in a dataset. Images are stored in the database using the supported file formats including the use of compression to reduce data size.
Get the free demo
If you would like to evaluate Imaging Toolkit for C++Builder, you can download a free trial version. The demo version includes the VCL components, an extensive sample project and On-line Help.
Support & Updates
You are always welcome to contact us, if you have any questions or concerns regarding the Imaging Toolkit for C++ Builder.
For support, please contact us at: Support