General Information About the Image Editor

Last reviewed: October 18, 1996
Article ID: Q136942
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows Professional Edition, versions 3.0, 5.0

SUMMARY

This article provides information about the stand-alone Image Editor (Imagedit.exe) included with the Professional Edition of Visual FoxPro for Windows.

MORE INFORMATION

In the Image Editor, you must choose either a bitmap, icon, or cursor file type. Each file type has a different purpose in your application. You can create cursor (.cur) and icon (.ico) files with multiple images. Multiple images are used to match different displays, such as VGA, EGA, CGA, and monochrome, with the proper images. Windows selects the correct resource to display.

NOTE: The CGA video mode is not fully supported in Windows 3.1 or later.

In a monochrome bitmap, each pixel is represented by one bit, with a value of 1 for white and 0 for black.

In an icon or a cursor, each pixel can consist of either an opaque color from a color palette, a screen color, or an inverse color. If the pixel has an opaque color, it always takes that fixed color. In a cursor, black and white are the only opaque color choices for most devices. If a pixel takes the screen color, that portion of the icon or cursor appears transparent. If a pixel takes the inverse color, that portion of the icon or cursor appears to be highlighted.

By default, the Image Editor allows you to edit images for common display devices such as VGA or monochrome. You can create definitions of image types for other display devices. The Image Editor uses the Imagedit.ini file to keep the image definitions for icons and cursors used on display devices other than the default devices.

Imagedit.ini contains sections with information about your preferences.

For example:

   [ImagEdit.Icon]
   SuperVGA=16,64,64
   [ImagEdit.Cursor]
   SuperVGA=16,32,32

These two sections define a 16-color icon with a size of 64-by-64 pixels, and a 16-color cursor with a size of 32-by-32 pixels.

REFERENCES

For more information about the Image Editor, please see the Image Editor Help file (Imagedit.hlp) located in the Vfp\Imagedit directory.

For more information about this topic, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q130124
   TITLE     : You Can Create Custom Cursor and Icon Files


Additional reference words: 5.00 3.00 VFoxWin imageedit editer
KBCategory: kbtool
KBSubcategory: FxtoolGeneral


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 18, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.