ImageEn, unit imageenproc

TImageEnProc.Pixelize

TImageEnProc.Pixelize


Declaration


procedure Pixelize(Amount: Double = 0.02);


Description


Pixelize filter renders the selected area using large color blocks. It is very similar to the effect seen on television when obscuring faces.

Parameter Description
Amount A floating point value from 0 to 1 which specifies the size of the rectangular block in percentage.


Original image:


Applying Pixelize(0.02) to the selected areas:




Example


ImageEnView1.Proc.Pixelize(0.02);