GUI ScreenIO for Windows

 ScreenIO.com


Image Controls

Overview

An image control is used to display images.  The data field associated with an image control is similar to a multiline edit control.  It's just a text field that you load with the filename you wish to display.

You can also assign an event-ID to an image control.  If you do, that event is returned to your program if the user clicks in the control.

Image Types

GUI ScreenIO supports the following image types:

Filetype Description
.BMP Windows bitmap - a standard format used by Windows to store images.  Bitmaps use no compression, and consequently, the file size may be quite large.
.GIF Graphics Interchange Format - a common format used for images that appear on Web pages.  GIF images are compressed, but no quality is lost in compression/decompression.  
.JPG Joint Photographic Expert Group - a compression scheme that works well for natural images such as photographs.  JPEG uses a "lossy" compression scheme; the more compression, the more information that is lost.
.EXIF Exchangeable Image File - a file formay used for images captured by digital cameras.  EXIF compression is identical to JPEG compression; EXIF files also contain information about the photograph (date and time, exposure data, camera make and model, etc.).
.PNG Portable Network Graphics - a relatively new format that has many of the advantages of GIF (no information lost in compression/decompression) and also offers more capabilities.
.TIF Tag Image File Format - a flexible and extendable format used by many platforms and image-processing applications.


GUI ScreenIO can either provide scrollbars so that you can move around in a large bitmap, or it can resize a bitmap to fit inside your image control.  Naturally, if the the aspect ratio of your image control is very different from the bitmap's aspect ration, the image will be distorted!

Related topics:


2000-2019 Norcom, all rights reserved 

TOC

Send feedback to Norcom