Region Data Creator

CreateRgn.exe lets you create region data usable by the plugin. The region data created is compatible with the Win32 API function ExtCreateRegion(), so you can use CreateRgn.exe for your own GDI programs if you want.

Creating region data for use with the plugin is simple:

    1. Click on "Load Bitmap" and browse to the source bitmap file.
    2. Click anywhere on the displayed bitmap to make that color transparent.
    3. Click "Save Region" to save the region data to a file.

More info:

After loading a bitmap, it will appear "attached" to the right side of the Region Creator window. This is the bitmap display window. To re-center the bitmap on the screen, you can click anywhere on the Region Creator window and drag it to a new location.

When you move the mouse over the bitmap, the cursor changes to an eyedropper and the color of the highlited pixel is shown on the bottom of the Region Creator window. When you click on a pixel in the bitmap, the selected color is used to generate region data, which is automatically applied to the bitmap display window.

Once you have created at least one transparent region, you can right-clicking on the bitmap let you do Boolean combinations with the exiting region. The most useful of these is "And", which adds a new color to the transparent region.

Region Creator Buttons

Button

Description

Load Bitmap

loads a new bitmap on docks it against the right edge of the Region Creator window.

Clear Region

clears all region data for the current bitmap

Load Region

load previously created region data and apply it to the current bitmap

Save Region

save the current region data to a file

 

Back to TweakWindow Plugin