// Display a form that allows adjustment of the colors of an image
// Assign our image to the color component dlgCurve2.IEColorCurve1.AssignSource( ImageEnView1.IEBitmap );
// Show form, and if user clicks OK, assign that curve to our image if dlgCurve2.ShowModal = mrOK then begin dlgCurve2.IEColorCurve1.ApplyCurve( ImageEnView1.IEBitmap ); ImageEnView1.Update(); end;