
ImgView_Layers_Ex2                                8/2005
------------------

This is an extented version of the standard example ImgView_Layers_Ex of graphics32 1.8.0 beta
downloaded from http://sf.net/projects/graphics32.

Added menu commands are:
  File / Save As...
  File / Exit    
  Layers / New Bitmap Layer with Alpha Channel Creation
  Filter / ...all
  Help / About


Layers / New Bitmap Layer with Alpha Channel Creation
-----------------------------------------------------
The main extension is the new layer command with which you can load normal pictures
and make the background transparent without having a seperate alpha channel picture.
On execution you can choose the background color and the color tolerance
to get an attractive result. 
The best feature of this new background elimination algorithm is that there is 
a soft border around the resulting foreground picture, which you can change interactively.

Please play around with the example pictures added to the zip file.

If you are interested in how this transparency algorithm works 
take a look to the routine SetTransparentBackground at AlphaLoaderUnit.pas.


File / Save As...
-----------------
Now you can save your result as picture file.
Loading and saving of PNG picture is also added to this demo. 


Filter
------
All filter commands are added for testing routines of unit GR32_Filters.


Help / About
------------
The help about form automatically display the program name,
the delphi version number and the graphics32 library version
and lists significant links of graphics32 development pages.



have a nice day    ;-) Gerd


 


