Exemple #1
0
 private void openToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (openFileDialog1.ShowDialog() == DialogResult.OK)
     {
         CurrentImage = new Comzept.Library.Drawing.FreeImage(openFileDialog1.FileName);
         PaintImage();
     }
 }
 internal abstract void Run(FreeImage image);
Exemple #3
0
 internal override void Run(FreeImage image)
 {
     _completed = FreeImageApi.AdjustBrightness(image.GetFreeImageHwnd(), _brightness);
 }
Exemple #4
0
 private void toolStripMenuItem6_Click(object sender, EventArgs e)
 {
     CurrentImage = CurrentImage.Rotate(270.0);
     PaintImage();
 }
 internal override void Run(FreeImage image)
 {
     _completed = FreeImageApi.AdjustGamma(image.GetFreeImageHwnd(), _gamma);
 }
Exemple #6
0
 internal override void Run(FreeImage image)
 {
     _completed = FreeImageApi.AdjustContrast(image.GetFreeImageHwnd(), _constrast);
 }