21 lines
907 B
Plaintext
21 lines
907 B
Plaintext
{\rtf1\ansi\deff0{\fonttbl{\f0\fnil\fcharset0 Tahoma;}{\f1\fnil Tahoma;}}
|
||
{\colortbl ;\red0\green0\blue128;}
|
||
\viewkind4\uc1\pard\cf1\lang1033\b\f0\fs22 ImageEN Painter Help\cf0\b0\fs18
|
||
\par
|
||
\par
|
||
\par \b Transparency\b0
|
||
\par
|
||
\par Transparency in ImageEN Painter is obtained from the bottom left pixel of the image when the image is loaded.
|
||
\par
|
||
\par RGB := IEBitmap.Pixels [ 0, IEBitmap.Height - 1 ];
|
||
\par fTransparentColor := TRGB2TColor ( RGB );
|
||
\par if ( IO.Params.BitsPerSample = 8 ) and ( IO.Params.SamplesPerPixel = 4 ) then
|
||
\par ImageEnView1.Proc.SetTransparentColors ( RGB, RGB, 0 );
|
||
\par
|
||
\par
|
||
\par \b Erasing Pixels
|
||
\par \b0
|
||
\par If the image is a 32-bit the images transparent color obtained from the bottom left pixel of the image when the image is loaded is used to erase pixels. If the image is not 32-bit the clWhite color is used for erasing.
|
||
\par \f1
|
||
\par }
|
||
|