BSOne.SFC/EM.Lib/ImageEn_SRC/Demos/FullApps/ImageEnPainter/ImageEN Painter Help.RTF

21 lines
907 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{\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 }