Invert example for Delphi
This example inverts the bitmap's colors and repaints the image.
Lead1.Invert; Lead1.ForceRepaint;