Display

Display - LEADTOOLS renders an image of any color depth (1 to 32 bit) to any display device, automatically handling any color reduction or expansion.   Intensity, contrast and gamma correction changes can be applied to the display without affecting the original data. Images can be automatically dithered to match the output display device on the fly, without changing the image in memory. Images can be scaled, zoomed, or scrolled when displayed. You can render images with a color specified as transparent.

You can position the displayed image, and zoom in or out by scaling and cropping the display. The rotated display feature (Document/Medical toolkits only) allows rendering images rotated in 90-degree increments without changing the image in memory. Large 1-bit images can remain compressed in memory while decompressing only the portion needed for display.  On a 256-color device, you can use a fixed palette option to eliminate palette shifting when displaying more than one image at a time in your application. Many images displayed in the main window may require scrolling. To display a scaled view of such a bitmap, you can use a PanWindow.

LEADTOOLS also lets you display and manipulate a list of images using the ImageList Control. In addition, LEADTOOLS provides a thumbnail browser for browsing entire directories for image files supported by LEADTOOLS.

LEADTOOLS Document/Medical toolkits include specialized display filters including favor black and scale to gray, which allow you to enhance and "clean up" 1 bit images. LEADTOOLS Medical Imaging display support adds 9-16 bit grayscale, and 12 and 16 bit display with window leveling.

When painting images on any video device, you can do the following:

If the display mode is 256 colors or less, you can do the following:

 

For displaying 1-bit (black-and-white) images, you can do the following to enhance the quality of display: